Re: [iText-questions] Fw: on AIX server, the Arabic text are misaligned

2014-03-18 Thread Bing Li
Dear Alexis,

Could you please let us know the contact info of any iText sales team
member, so that we can further confirm what the paid support will be.


Copy Bill Lobig and Dave Perman as eForm product owner at IBM side.

Best Regards,

Bing Li (李冰)
Manager, IBM Case Manager Solution Development, IBM China Development Lab
Tel:(86-10)82453406  Fax:(86-10)82451164  T/L:90-53406
Address: Ring Bldg, No.28 Building, ZhongGuanCun Software Park, No.8
DongBeiWang West Road, Haidian District, Beijing 100193, P.R.China
Internet Mail: lib...@cn.ibm.com

- Forwarded by Jin Liang Shi/China/IBM on 03/14/2014 05:25 PM -

From:   Alexis Pigeon pigeon.ale...@gmail.com
To: Post all your questions about iText here
itext-questions@lists.sourceforge.net,
Cc: Fintan McAlinden fmcalin...@ie.ibm.com, Jin Liang
Shi/China/IBM@IBMCN
Date:   03/03/2014 07:44 PM
Subject:Re: [iText-questions] on AIX server, the Arabic text are
misaligned



Hi Jing,

iText 2.1.5 will be 5 years old this week. There's no free support provided
on this mailing list for such old versions. You should either:
- upgrade to the latest version of iText (as of today, 5.5.0 is the latest)
- inquire if you could get paid support for 2.1.5 (
http://itextpdf.com/sales/ )

Best regards,
alexis


On 3 March 2014 12:21, Jing F Fan fjfj...@cn.ibm.com wrote:
  Dear iText engineers,

  This is Jing from IBM, the product I supported is using your open source
  iText-2.1.5 now, and it always works very well. But we met a difficult
  problem now, when using an AIX server, the Arabic text are misaligned
  when published to pdf, while it works well on Windows Server. I searched
  in your forum but failed to find the similar case. Have you ever dealt
  with those problems? Any suggestions?


  Here is our code fragment:

  com.lowagie.text.Font pdfFont;
  ...
  pdfFont = (com.lowagie.text.Font)FontMapper.getInstance().makePdfFont
  (styleFragments[z], resolution, false);
  fonts.add(pdfFont);
  BaseFont baseFont = pdfFont.getBaseFont();
  fragmentWidth = baseFont.getWidthPoint(fragment, styleFragments
  [z].getFontSize()) / (16 / ((float)resolution / 72.0f));

  the argument fragment is the same Arabic string got from one form
  template,  while the styleFragments[z].getFontSize()= 224, in Windows,
  the result of fragmentWidth: 250.95001; while in AIX, fragmentWidth:
  242.606. Why the result are different on different OS? Thanks very much!



  Best Regards,
  Jing Fan (樊静)

  Email: fjfj...@cn.ibm.com

  --

  Subversion Kills Productivity. Get off Subversion  Make the Move to
  Perforce.
  With Perforce, you get hassle-free workflows. Merge that actually works.
  Faster operations. Version large binaries.  Built-in WAN optimization and
  the
  freedom to use Git, Perforce or both. Make the move to Perforce.
  http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk

  ___
  iText-questions mailing list
  iText-questions@lists.sourceforge.net
  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--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
iText-questions mailing list
iText-questions@lists.sourceforge.net
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

Re: [iText-questions] Fw: on AIX server, the Arabic text are misaligned

2014-03-18 Thread Michael Demey
Hi Bing,


You can contact the sales at the following e-mail: sa...@itextpdf.com


Kind regards,
Michaël.



Bing Li schreef op 17/03/2014 15:28:
 Dear Alexis,

 Could you please let us know the contact info of any iText sales team
 member, so that we can further confirm what the paid support will be.


 Copy Bill Lobig and Dave Perman as eForm product owner at IBM side.

 Best Regards,

 Bing Li (李冰)
 Manager, IBM Case Manager Solution Development, IBM China Development Lab
 Tel:(86-10)82453406  Fax:(86-10)82451164  T/L:90-53406
 Address: Ring Bldg, No.28 Building, ZhongGuanCun Software Park, No.8
 DongBeiWang West Road, Haidian District, Beijing 100193, P.R.China
 Internet Mail: lib...@cn.ibm.com

 - Forwarded by Jin Liang Shi/China/IBM on 03/14/2014 05:25 PM -

 From: Alexis Pigeon pigeon.ale...@gmail.com
 To: Post all your questions about iText here
 itext-questions@lists.sourceforge.net,
 Cc: Fintan McAlinden fmcalin...@ie.ibm.com, Jin Liang Shi/China/IBM@IBMCN
 Date: 03/03/2014 07:44 PM
 Subject: Re: [iText-questions] on AIX server, the Arabic text are misaligned

 



 Hi Jing,

 iText 2.1.5 will be 5 years old this week. There's no free support
 provided on this mailing list for such old versions. You should either:
 - upgrade to the latest version of iText (as of today, 5.5.0 is the latest)
 - inquire if you could get paid support for 2.1.5 (
 _http://itextpdf.com/sales/_ )

 Best regards,
 alexis


 On 3 March 2014 12:21, Jing F Fan _fjfj...@cn.ibm.com_
 mailto:fjfj...@cn.ibm.com wrote:

 Dear iText engineers,

 This is Jing from IBM, the product I supported is using your open
 source *iText-2.1.5* now, and it always works very well. But we met
 a difficult problem now, when using an *AIX* server, the
 *Arabic* text are *misaligned* when published to pdf, while it works
 well on Windows Server. I searched in your forum but failed to find
 the similar case. Have you ever dealt with those problems? Any
 suggestions?


 Here is our code fragment:

 com.lowagie.text.Font pdfFont;
 ...
 pdfFont =
 
 (com.lowagie.text.Font)FontMapper.getInstance().makePdfFont(styleFragments[z],
 resolution, false);
 fonts.add(pdfFont);
 BaseFont baseFont = pdfFont.getBaseFont();
 fragmentWidth = baseFont.*getWidthPoint*(fragment,
 styleFragments[z].getFontSize()) / (16 / ((float)resolution / 72.0f));

 the argument /fragment/ is the same Arabic string got from one form
 template,  while the /styleFragments[z].getFontSize()/= 224, in
 Windows,  the result of fragmentWidth: 250.95001; while in AIX,
 fragmentWidth: 242.606. Why the result are different on different
 OS? Thanks very much!



 Best Regards,
 Jing Fan (樊静)

 Email: _fjfj...@cn.ibm.com_ mailto:fjfj...@cn.ibm.com

 
 --
 Subversion Kills Productivity. Get off Subversion  Make the Move to
 Perforce.
 With Perforce, you get hassle-free workflows. Merge that actually works.
 Faster operations. Version large binaries.  Built-in WAN
 optimization and the
 freedom to use Git, Perforce or both. Make the move to Perforce._
 
 __http://pubads.g.doubleclick.net/gampad/clk?id=122218951iu=/4140/ostg.clktrk_
 ___
 iText-questions mailing list_
 __iText-questions@lists.sourceforge.net_
 mailto:iText-questions@lists.sourceforge.net_
 __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_



 --
 Learn Graph Databases - Download FREE O'Reilly Book
 Graph Databases is the definitive new guide to graph databases and their
 applications. Written by three acclaimed leaders in the field,
 this first edition is now available. Download your free book today!
 http://p.sf.net/sfu/13534_NeoTech



 ___
 iText-questions mailing list
 iText-questions@lists.sourceforge.net
 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



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases