Forum Replies Created

Viewing 15 posts - 241 through 255 (of 1,410 total)
  • Author
    Posts
  • in reply to: Issue with font family on chinese characters
    #29820

    In current DEV build we implemented a solution for the issue. It is a very sensitive part of the rendering engine and the patched version still cannot pass QA by “exotic” test cases (a mix of Chinese and Arabic scripts), so we made the patch conditionally switchable on/off. Currently by default it is switched off.

    In order to enable it you should either run your Java (app server?) with the following JVM parameter:

    -Dpd4ml.fix.20150816=true

    Alternatively you may trigger PD4ML API to achieve the same effect:

    HashMap map = new HashMap();
    map.put( PD4Constants.PD4ML_FIX20150816, "true" );
    pd4ml.setDynamicParams(map);

    Hopefully the workaround is ok for you.

    We currently work on a totally refactored PD4ML v4.x, which should implicitly solve such kind of issues.

    We’ll send you an updated library by request to support pd4ml com

    in reply to: Issue with font family on chinese characters
    #29819

    Sorry it takes that long. We’ve been still working on the issue. I’ll let you know.

    in reply to: Issue with font family on chinese characters
    #29816

    We plan to address the issue on Monday. I’ll let you know asap.

    in reply to: Issue with font family on chinese characters
    #29814

    Do you have a font mapping for Times New Roman in pd4fonts.properties? Does it load the .ttf file during a conversion?

    Times New Roman=times.ttf

    in reply to: Barcode Font loaded but not embeded or used in PDF
    #29805

    In UTF-8 “0xC5 0x93 (c593)” corresponds to http://www.fileformat.info/info/unicode/char/c593/index.htm
    which is definitely not correct.

    > My understanding is that the barcode string our example is UTF-8 encoded.

    The simplest test to ensure your doc is wrongly encoded would be to open the document in a web browser. After that change the encoding to windows-1252 and open the doc in another tab. Compare and you’ll see the barcode appears slightly different (prefixed and postfixed in the second case). In the first case the start-stop chars are not displayed (until CJK fonts pack installed).

    > the Unicode character 0x0153 (the barcode STOP character)

    It is not correct. 153 is not hex, but decimal ASCII value (= 0x99), which is in UTF-8 should be encoded as 0x2122

    See
    http://freebarcodefonts.dobsonsw.com/Code128Transformation.htm

    in reply to: Barcode Font loaded but not embeded or used in PDF
    #29803

    In your example document a character encoding is declared as UTF-8, but the barcode string itself is defined with windows-1251.

    That inconsistence results some double byte sequences are interpreted wrong way (as Chinese glyphs, not present in the TTF font file).

    There are two solutions:
    1. to change the document encoding to windows-1251. As I see, it is not accepteble by you.

    2. to represent the barcode string as correct UTF-8: to change 153 (0x99) -> 0x2122, 151 (0x97) -> 0x2014, etc
    (See the bottom part of the code table on http://freebarcodefonts.dobsonsw.com/Code128Transformation.htm )

    The codes can be written using HTML entities i.e. ™ — …

    in reply to: Support for page-break-after:avoid
    #29811

    With the current architecture (v39x) the feature is not supported and it is quite untrivial to implement.

    We plan to include the feature support to a totally refactored forthcoming v40x, but its release will happen not sooner as in 2-3 months.

    in reply to: Support for page-break-after:avoid
    #29809

    For the case PD4ML supports “page-break-inside: avoid”, applicable to block elements (<td>, <div> etc).

    in reply to: Barcode Font loaded but not embeded or used in PDF
    #29801

    Because of <meta> it started to display the barcode correctly (including start/stop bars)

    #28368

    > but my image can’t get metadata with reader.getImageMetadata(0);.

    What kind of error it produces?

    in reply to: Unable to use pd4ml.extra.resource.loaders
    #29794

    Steve B. (see previous posts) finally solved the issue by a prepending the class name with its full package name, i.e:

    map.put( "pd4ml.extra.resource.loaders", "com.application.PD4MLCustomFileResourceProvider" );

    in reply to: Barcode Font loaded but not embeded or used in PDF
    #29799

    After I copy-pasted your HTML snippet, I noticed the barcode data is followed (after ‘…744.1s’) by an invisible 0xC29C character. The character’s glyph is not defined by Code128bWinLarge.ttf. In the situation PD4ML unsuccessfully tries to find a TTF, which has a missing glyph data.

    After I removed all content after the barcode data, it started to work correctly.

    in reply to: Barcode Font loaded but not embeded or used in PDF
    #29798

    Thank you! We received the font. Hopefully we’ll have a chance to test/investigate the issue today.

    in reply to: Barcode Font loaded but not embeded or used in PDF
    #29796

    Unfortunately WinZip does not recognize the .MSI as an archive. Also after I installed the tool, I found no traces of Code128bWinLarge on my workstation.

    Could you please just send the TTF to support pd4ml com?

    in reply to: Blank PDF
    #29792

    A maintenance period (incl. software updates) of the license you own is obviously expired. There are renew/upgrade options. Contact support pd4ml com

Viewing 15 posts - 241 through 255 (of 1,410 total)