iText expects Arabic Diactrics (tashkeel) to have zero advance but some fonts 
have non-zero advance for those characters. Call 
BaseFont.correctArabicAdvance() to correct it.

Paulo
  ----- Original Message ----- 
  From: Waheed 
  To: [email protected] 
  Sent: Saturday, December 24, 2011 2:37 PM
  Subject: [iText-questions] Arabic letter seperation when using Diacritics


  Peace everyone, 

  When I run  http://www.computarat.com/files/java/Test9.java this java code ,
  I get  http://www.computarat.com/files/java/normalText.pdf normalText pdf 
  with correct Arabic letters and direction, except the last font
  SimplifiedArabic which is missing some letters. 
  Yes I read some where that this font is corrupt. So Ok.

  Now when I change the following line in the source from:
    public static String activeText = normalText;
  to 
    public static String activeText = tashkeelText;
  and rerun, I get  http://www.computarat.com/files/java/tashkeelText.pdf
  tashkeelText pdf .

  Could someone tell me how to correct this problem, which is in Andalus and
  TraditionalArabic letters are split. What is wrong here?

  Notice: You might see some other methods, disregard them those where just
  other examples.

  --
  View this message in context: 
http://itext-general.2136553.n4.nabble.com/Arabic-letter-seperation-when-using-Diacritics-tp4231317p4231317.html
  Sent from the iText - General mailing list archive at Nabble.com.

  ------------------------------------------------------------------------------
  Write once. Port to many.
  Get the SDK and tools to simplify cross-platform app development. Create 
  new or port existing apps to sell to consumers worldwide. Explore the 
  Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
  http://p.sf.net/sfu/intel-appdev
  _______________________________________________
  iText-questions mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/itext-questions

  iText(R) is a registered trademark of 1T3XT BVBA.
  Many questions posted to this list can (and will) be answered with a 
reference to the iText book: http://www.itextpdf.com/book/
  Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to