Hi Jan,
Jan To?ovský <[email protected]> wrote on 04/14/2009 02:38:59 PM:
> > You might consider using font-face (or CSS @font-face)
>
> Good idea, thanks! This solution is even better then present one.
> Unfortunately, it works with limited charset only. I can get output of
> extended latin alphabet with accented characters, but nothing from range
> interesting for me: approx. -F7FF
Those aren't standard UNICODE characters. They are in the
'private' use area and are used by Adobe but aren't part of the
standard. My guess is that the Java Font instance is returning
'false' for java.awt.Font.canDisplay(char ch).
You could try replacing the line in
batik.gvt.renderer.StrokingTextPainter where we limit char display
to those the font says it can display (line 464):
int displayUpToIndex = font.canDisplayUpTo
(aci, currentIndex, end);
I think you can just set displayUpToIndex to '-1' and it
will use the first font in the font family list.