« Return to Thread: Font Symbol

Re: Font Symbol

by Luis Ferro :: Rate this Message:

Reply to Author | View in Thread

It seams so... some symbols which doesn't exist in normal fonts (weird unicodes to start with) just disapear from the text and are replaced with a "#"... After i switched the italic to normal, the characters reapeared.

(this is in the somewhat new thrunk-svn of the start of August)

This didn't happened in the older version...

Cheers,
LF

Andreas L Delmelle wrote:
On Aug 25, 2006, at 00:11, Luis Ferro wrote:

Hi Luis,

> When i use the font "Symbol" (which is built it), all works well...  
> except
> if i try to use the "font-style='italic'" with it... it gives an  
> error:
>
> missing font (or something like that): 'Symbol, italic, 400'  
> replacing with
> default (or something like that).

Seems correct more or less, but now that you mention it: it does  
switch the whole font, right? While it is actually only the font-
style component that makes it impossible to locate the font.

It doesn't seem too difficult to alter FontInfo.java to make it first  
look for a font with the same name/weight, but with default font-style.

Anyway, I'll give other devs a chance to chime in before I start  
fiddling with it. If no objections arise, I'll probably commit this  
small change during the weekend.


Cheers,

Andreas


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

 « Return to Thread: Font Symbol