You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Priyanka Khengare (Jira)" <ji...@apache.org> on 2021/08/10 13:52:00 UTC

[jira] [Updated] (BATIK-1314) SVG to PDF conversion doesn't render Cyrillic characters correctly

     [ https://issues.apache.org/jira/browse/BATIK-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Priyanka Khengare updated BATIK-1314:
-------------------------------------
    Description: 
I'm trying to convert a SVG which has Cyrillic characters to PDF document but those are showing as #. I have gone through few threads reporting similar issue but could not found solution. 

PDF is getting generated with below warnings:

About to transcoder source of type: org.apache.batik.apps.rasterizer.SVGConverterFileSource
 Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
 WARNING: Glyph 12362 (0x304a, ohiragana) not available in font Helvetica
 Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
 WARNING: Glyph 12397 (0x306d, nehiragana) not available in font Helvetica
 Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
 WARNING: Glyph 12364 (0x304c, gahiragana) not available in font Helvetica
 Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
 WARNING: Glyph 12356 (0x3044, ihiragana) not available in font Helvetica
 Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
 WARNING: Glyph 12375 (0x3057, sihiragana) not available in font Helvetica
 Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
 WARNING: Glyph 12414 (0x307e, mahiragana) not available in font Helvetica
 Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
 WARNING: Glyph 12377 (0x3059, suhiragana) not available in font Helvetica
 Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
 WARNING: Many requested glyphs are not available in font Helvetica

 

I have attached input svg file and output pdf file to this issue.

As mentioned on few threads I need to define font that has glyph for required characters. The question is how to do that? Can you please provide some link which will guide through steps for defining fonts?

 

Thanks,

Priyanka

  was:
I'm trying to convert a SVG which has Cyrillic characters to PDF document but those are showing as #. I have gone through few threads reporting similar issue but could not found solution. 

PDF is getting generated with below warnings:

About to transcoder source of type: org.apache.batik.apps.rasterizer.SVGConverterFileSource
Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
WARNING: Glyph 12362 (0x304a, ohiragana) not available in font Helvetica
Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
WARNING: Glyph 12397 (0x306d, nehiragana) not available in font Helvetica
Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
WARNING: Glyph 12364 (0x304c, gahiragana) not available in font Helvetica
Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
WARNING: Glyph 12356 (0x3044, ihiragana) not available in font Helvetica
Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
WARNING: Glyph 12375 (0x3057, sihiragana) not available in font Helvetica
Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
WARNING: Glyph 12414 (0x307e, mahiragana) not available in font Helvetica
Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
WARNING: Glyph 12377 (0x3059, suhiragana) not available in font Helvetica
Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
WARNING: Many requested glyphs are not available in font Helvetica

 

I have attached input svg file and output pdf file to this issue.

As mentioned on few threads I need to define font that has glyph for required characters. The question is how to do that? Can you provide some link which will guide through steps for defining fonts?

 

Thanks,

Priyanka


> SVG to PDF conversion doesn't render Cyrillic characters correctly
> ------------------------------------------------------------------
>
>                 Key: BATIK-1314
>                 URL: https://issues.apache.org/jira/browse/BATIK-1314
>             Project: Batik
>          Issue Type: Bug
>    Affects Versions: 1.13
>         Environment: Operating System: Windows 10
> Platform: PC
>            Reporter: Priyanka Khengare
>            Priority: Major
>         Attachments: SVGToPDF.zip
>
>
> I'm trying to convert a SVG which has Cyrillic characters to PDF document but those are showing as #. I have gone through few threads reporting similar issue but could not found solution. 
> PDF is getting generated with below warnings:
> About to transcoder source of type: org.apache.batik.apps.rasterizer.SVGConverterFileSource
>  Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
>  WARNING: Glyph 12362 (0x304a, ohiragana) not available in font Helvetica
>  Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
>  WARNING: Glyph 12397 (0x306d, nehiragana) not available in font Helvetica
>  Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
>  WARNING: Glyph 12364 (0x304c, gahiragana) not available in font Helvetica
>  Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
>  WARNING: Glyph 12356 (0x3044, ihiragana) not available in font Helvetica
>  Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
>  WARNING: Glyph 12375 (0x3057, sihiragana) not available in font Helvetica
>  Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
>  WARNING: Glyph 12414 (0x307e, mahiragana) not available in font Helvetica
>  Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
>  WARNING: Glyph 12377 (0x3059, suhiragana) not available in font Helvetica
>  Aug 10, 2021 5:36:56 PM org.apache.fop.fonts.Typeface warnMissingGlyph
>  WARNING: Many requested glyphs are not available in font Helvetica
>  
> I have attached input svg file and output pdf file to this issue.
> As mentioned on few threads I need to define font that has glyph for required characters. The question is how to do that? Can you please provide some link which will guide through steps for defining fonts?
>  
> Thanks,
> Priyanka



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org