[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Win32 text-rendering
From: |
Leonard Rosenthol |
Subject: |
Re: [Freetype] Win32 text-rendering |
Date: |
Mon, 27 May 2002 10:57:46 -0400 |
At 1:17 PM +0200 5/27/02, Niels Moseley wrote:
I'm rendering Windows Metafiles (WMF) using my own renderer.
Isn't WMF fun ;). Try EMF sometime!
Are you working from libwmf as your parser or something else?
This works fine except that the text windows renders seems to be
slightly bigger than what freetype renders. This is very awkward
because some rendered sentences have gaps in them!
How are you getting the font sizes from the WMF? Are you
taking the viewport and window extents into accoutn when computing
the sizes? Are you doing any rounding of floats?
I ask all these questions because ImageMagick
(http://www.imagemagick.org) uses FT2 and libwmf to render WMF files
w/o any problems - so I suspect that the problem is in your WMF
handling.
Leonard
--
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:address@hidden>
<http://www.lazerware.com>