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 "dian hina (Jira)" <ji...@apache.org> on 2021/06/26 20:29:02 UTC
[jira] [Updated] (BATIK-872) Fonts not found for SVG texts (when
not in C:\WINNT\Fonts)
[ https://issues.apache.org/jira/browse/BATIK-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dian hina updated BATIK-872:
----------------------------
oke finish
> Fonts not found for SVG texts (when not in C:\WINNT\Fonts)
> ----------------------------------------------------------
>
> Key: BATIK-872
> URL: https://issues.apache.org/jira/browse/BATIK-872
> Project: Batik
> Issue Type: Bug
> Components: SVGGraphics2D
> Affects Versions: 1.7
> Environment: Operating System: Windows 2000
> Platform: PC
> Reporter: M.H.
> Assignee: Batik Developer's Mailing list
> Attachments: Embed.java, icon-font-dark.png, icon-font.png, patch_external_fonts_proposal.txt
>
>
> As posted as a FOP FOP-1614 (https://issues.apache.org/bugzilla/show_bug.cgi?id=46371), this is rather a Batik issue:
> Fonts used in SVG images need to be available in C:\WINNT\Fonts (or: OS font system). Due to font license restrictions, some fonts only are allowed to be available for our Java application and not OS wide. Therefore, I copied the TTF fonts in a custom directory which works well with Apache FOP. I tried to set a custom font configuration for the Java application via
> java -Dsun.awt.fontconfig ...
> and this basically works in a test application as I am able to create a Font object with the correct family name and sub name. But Batik seems to ignore this.
--
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