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 bu...@apache.org on 2012/01/23 15:54:32 UTC

DO NOT REPLY [Bug 46374] Fonts not found for SVG texts (when not in C:\WINNT\Fonts)

https://issues.apache.org/bugzilla/show_bug.cgi?id=46374

--- Comment #6 from Hugo de Almeida Cocharro <Hu...@inventivegroup.com> 2012-01-23 14:54:32 UTC ---
Created attachment 28192
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28192
patch with proposal of fix for adding external fonts

Attached a patch with a proposal for allowing external fonts to be used by
batik.
It adds 2 extra methods to the useragent. UserAgentAdapter implements the
default behavior.

added some extra changes to squiggle, allowing you to test this more easily,
this is for me not necessary but nice to have.
* added fonts preferences page
** allow for configuring the default css font. (not yet happy about the
layouting)
** allow for configuring extra font directories
*** these extra font directories are first checked before fallbacking to fonts
known to the AWT graphics environment.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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