[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(mgp-users 00383) Re: Some magic point questions/comments/bugs
- To: mgp-users@mew.org
- Subject: (mgp-users 00383) Re: Some magic point questions/comments/bugs
- From: "Dean S. Messing" <deanm@sharplabs.com>
- Date: Wed, 6 Sep 2000 12:32:25 +0900
- Cc: Jun-ichiro itojun Hagino <itojun@itojun.org>
- In-reply-to: <> (message from Jun-ichiro itojun Hagino on Wed, 6 Sep 2000 10:04:55 +0900)
- Posted: Tue, 5 Sep 2000 20:27:10 -0700
- Reply-to: mgp-users@mew.org
:: >Q4.
:: >---
:: >Why does the beautiful MTCORSVA.TTF font from the Microsoft
:: >Windows 98 / Office 2000 distribution not render well? Pieces of
:: >letters are missing. Yet they render perfectly when I use ftview from
:: >the freetype-1.3.1 distribution. Try, for example
:: >and see if the rendering is any good.
::
:: could you check if you have freetype font support in your binary?
:: try "mgp -V foo.mgp" to check what kind of fonts are actually used.
::
:: itojun
Thanks itojun-san for looking into this.
Yes, freetype font support is in my binary.
In fact
`ldd /usr/X11R6/bin/mgp' returns:
libttf.so.2 => /usr/lib/libttf.so.2 (0x4001d000)
libm.so.6 => /lib/libm.so.6 (0x4004a000)
libpng.so.2 => /usr/lib/libpng.so.2 (0x40068000)
libungif.so.4 => /usr/lib/libungif.so.4 (0x40087000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4008f000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4009d000)
libc.so.6 => /lib/libc.so.6 (0x4014f000)
libz.so.1 => /usr/lib/libz.so.1 (0x40236000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Note the top line says its finding my ttf shared library.
Also, `mgp -V icip2000.mgp' returns
trying to open font "/opt/deanm/win/windows/fonts/arial.ttf"
font "/opt/deanm/win/windows/fonts/arial.ttf" opened successfully
trying to open font "GOTHIC.TTF"
trying to open font "/opt/deanm/win/windows/fonts/GOTHIC.TTF"
font "/opt/deanm/win/windows/fonts/GOTHIC.TTF" opened successfully
2 charmaps for font /opt/deanm/win/windows/fonts/GOTHIC.TTF code 0049
2 charmaps for font /opt/deanm/win/windows/fonts/GOTHIC.TTF code 006d
2 charmaps for font /opt/deanm/win/windows/fonts/GOTHIC.TTF code 0070
with lots more lines like this. It finds every font I use
(because I only use fonts that I know I have :-). But the
rendering is poor on several of them even though they render
perfectly with the native Freetype renderer used by `ftview'.
Note these are microscoft ttf fonts from the windows 98/Office 2000
distribution. If you like, I can supply you with the particular
fonts that render poorly as well as a screen dump so you can
see for yourself. Let me know.
Dean