Hi Patrick,

<g id="Layer_2">
        <text transform="matrix(1 0 0 1 19.6477 100.696)"
font-family="'Parchment-Regular'" font-size="100">DM</text>
</g>

Have you tried changing the font-family attribute to "Parchment"? I guess that "Parchment-Regular" is not the name of the font family, but the font name of the regular font-face of this font family.

You can investigate this by retrieving the font families available to the JVM:

GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
String[] fontFamilyNames = env.getAvailableFontFamilyNames();

The font must be installed either in the system font directory or in Java's font directory (jre/lib/fonts). The latter, however, does not work on Mac OS X, unless you are using Soylatte instead of Apple's Java implementation.

Best regards,

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to