freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: D-Type or FreeType?


From: Leonard Rosenthol
Subject: RE: D-Type or FreeType?
Date: Mon, 6 Nov 2000 06:33:49 -0800

At 10:09 AM +0100 11/6/00, Boris Letocha wrote:
 > Sort of - libart has the pen centred around the vpath, I
 think outlined
 fonts really should be inset.  comments?
IMHO it should be centered around center of path...

        I agree.


so to acomplish your problem use:
get path from FT.
now switch to libart :-)
stroke the path
calcutate intersection of these two paths and result is what you want ...

That's EXACTLY what I did (well, minus the last step) at one point in a project I was working on. It seems to work fine and the look is acceptable for the VERY few documents that I've found that actually use outlined/stroked text.


Leonard
--
----------------------------------------------------------------------------
Leonard Rosenthol                       <mailto:address@hidden>
Sr. Software Engineer                   (215) 922-3509 (voice)
Digital Applications                    (215) 440-0504 (fax)

PGP Fingerprint: 8CC9 8878 921E C627 0BC1  15BB FC19 64A9 0016 1397





reply via email to

[Prev in Thread] Current Thread [Next in Thread]