I have to set the text-direction of some Arabic data as RTL. Is this achievable through acrofields? Please guide.
Related
It's obviously very easy to render text from PDF doc using PdfTextExtractor.GetTextFromPage. However when dealing with PDF created with embedded fonts I immediately stumbled into encoding issues.
Is there a generic method that will handle whatever font since i dont have any control on how pdf is created. My task is simple - convert pdf to text.
I've obviously searched for days before posting but could not find answer.
Thank you in advance!
ER
I am converting HTML to PDF using iTextSharp but am having problems with styling.
I am using iTextSharp version 5 and am able to style the tags using the following code:
StyleSheet styles = new StyleSheet();
styles.LoadTagStyle(HtmlTags.H1, HtmlTags.FONTSIZE, "16");
styles.LoadTagStyle(HtmlTags.P, HtmlTags.FONTSIZE, "10");
I then parse the HTML and style sheet using this:
List<IElement> objects = HTMLWorker.ParseToList(new StringReader(htmlText), styles);
My question is can i import an external stylesheet in instead of having to specify each one of the tags individually?
I have found this code on earlier posts:
builder.ImportStylesheet(Request.PhysicalApplicationPath + "CSS\\Stylesheet.css");
but i cannot seem to get this to work, is this from an older version of iTextSharp which has been taken out of the latest version?
That looks like its using HtmlToPdfBuilder which is not from the makers of iText or iTextSharp but might still work for you.
[EDIT]
Dead link removed, used to be http://somewebguy.wordpress.com/tag/itextsharp/
Flex documentation says that we need to include fonts for Japanese characters, Flash Player can't access fonts from the system in which it is running. If my flex application has to support all languages, should I embed an entire font library into swf-file? In my case data is fed from MySQL, so I can't fall back to runtime loading.
Is there any ttf font equivalent to Arial Unicode MS font?
Kindly help me out.
If you are using Flex 4 SDK then it should happen automatically - you just need to define a font fallback chain such as,
fontFamily: "Hiragino Kaku Gothic Pro W3","MS GOTHIC","_sans";
I have a random string given below.
ungs- und AnimationsprogrammSport /
Unterhaltung: Gegen Ge
I would like to display the Sport text as a bold.
ungs- und Animationsprogramm
Sport / Unterhaltung: Gegen G
How should can I display text like this?
Thanx in advanced
iOS does not yet support the display of attributed text.
I suggest using Three20's style component.
Look at CoreText and NSAttributedString in iOS4.
As a starting point, consider reviewing the WWDC videos on text handling...
I'm using NSXMLParser in iphone app that I'm working on.
Later I'm displaying the text in a view.
All is well when I'm using english language in my XML.
But my XML is in Herbrew language. I'm not able to read the text properly and display it.Please advice me what change do I've to make in XML.
if the XML file is in UTF-8 and you are decoding it using NSUTF8Encoding you should have no problems.
when displaying the strings in UI, remember to set the correct alignment, or the right-to-left will not look correct.