Another symbol font fix
Rein Klazes
rklazes at xs4all.nl
Thu Oct 30 06:51:00 CST 2003
On Thu, 30 Oct 2003 11:30:46 +0000, you wrote:
> On Wed, Oct 29, 2003 at 08:23:16PM +0100, Rein Klazes wrote:
> > Hi,
> >
> > There are a couple of non-MS TT fonts on my system that only display
> > rectangles in win98's charmap.exe. Wine recognize these to have a SYMBOL
> > character set but Windows (win2k) does not. So libfreetype returning a
> > character mapping ft_encoding_symbol is not enough, I propose testing
> > the 0xf000 character offset that is assumed in other parts of the code.
> >
> > Tested to work for libfreetype 2.0.9 and 2.1.5
>
> This sounds strange. Is there any chance that you could send me the
> font?
in your mailbox.
> Failing that could you send me the output of ftdump?
I did not even know ftdump, here is the output of my rinki dinkie:
These two are the problem fonts:
| font '/dos/d/win98/fonts/nwcv15.ttf'
| num_glyphs 60 flags 00000219 num_charmaps 2 firstchar 0
| encoding #0 is armn platform: 1 encoding: 0 err 0 firstchar 0
| encoding #1 is symb platform: 3 encoding: 0 err 0 firstchar 20
| font '/usr/share/fonts/truetype/mapsym.ttf'
| num_glyphs 46 flags 00000219 num_charmaps 3 firstchar 20
| encoding #0 is unic platform: 0 encoding: 0 err 0 firstchar 20
| encoding #1 is armn platform: 1 encoding: 0 err 0 firstchar 0
| encoding #2 is symb platform: 3 encoding: 0 err 0 firstchar 20
Compare that to a well behaved font:
| font '/dos/d/win98/fonts/VANDALE.ttf'
| num_glyphs 227 flags 00000259 num_charmaps 3 firstchar f020
| encoding #0 is unic platform: 0 encoding: 0 err 0 firstchar f020
| encoding #1 is armn platform: 1 encoding: 0 err 0 firstchar 0
| encoding #2 is symb platform: 3 encoding: 0 err 0 firstchar f020
Encoding & platform are exactly the same, I need something else then the
charmap properties.
Rein.
--
Rein Klazes
rklazes at xs4all.nl
More information about the wine-devel
mailing list