[prev in list] [next in list] [prev in thread] [next in thread]
List: freetype
Subject: Fw: [Freetype] Vector-only output request
From: "Adrian & Marnie Kole" <akole1 () home ! com>
Date: 2001-07-28 17:15:39
[Download RAW message or body]
----- Original Message -----
From: Adrian & Marnie Kole
To: Laurent Lequenne
Sent: Saturday, July 28, 2001 10:12 AM
Subject: Re: [Freetype] Vector-only output request
HI Laurent,
Thanks for the fast response.
I looked at the FT_Outline_Decompose function already. I'm no expert on using this \
library, but I still see no way to get just vectors. It looks like you get line \
segments and whatever bezier curves or whatever as output, with no indication as to \
which parts of the outline are holes.
What I (and I'm sure others) thought would be useful is to have a way of getting ONLY \
line segments (no curves as they would be segmented already using some specified \
criteria, like a chord angle or minimum segment length). This way, it would simplify \
conversion to other format polyline types like those used in CAD/CAM applications \
where you might have an outside outline and the hole outlines--and have the added \
bonus in that even if a new font type comes out that supports some other obscure arc \
type, it would be handled transparently without the need of code using the FreeType \
library to understand the format.
Regards,
Adrian
----- Original Message -----
From: Laurent Lequenne
To: Adrian & Marnie Kole
Sent: Saturday, July 28, 2001 9:50 AM
Subject: Re: [Freetype] Vector-only output request
Well it has... Ouuuppsss look at the FT_Outline_Decompose function... I developed \
such thing that works with the libart library and my own rendering functions as I \
only use 32 bits images... And it works great, however the libart renderer gives me \
some troubles with overflows. I'm currently rewriting that part (I should to :-)).
Laurent
----- Original Message -----
From: Adrian & Marnie Kole
To: freetype@freetype.org
Sent: Saturday, July 28, 2001 6:25 PM
Subject: [Freetype] Vector-only output request
Hello,
First of all, I am new to FreeType but am grateful that folks such as yourselves \
are providing such useful software to the development community in such a selfless \
way--many kudos!
I have an application in mind for the library. Unfortunately, it appears that \
the FreeType library is not suited for my purposes due to the lack of any ability to \
output only vectors. You see, I have the need to convert a text string to outlines, \
outputting only vectors (lines)--curves already converted to line segments and \
'holes' in glyphs separated from the actual glyph outlines. I really have little \
need for getting bitmap information--I need vectors that can be taken and converted \
to a format compatible with polyline formats used by different applications.
It would really be nice if FreeType supported a function such as \
Glyph_to_vectors(), that allows for specifying a 'chord angle' or similar for \
specifying the granularity of which to break up complicated curves. I would think \
that this would be useful not only to myself, but to many interested in converting \
glyph strings to primitive, simple-to-use outlines.
Does anyone know of any other tools (or FreeType add-ins perhaps) that could \
accomplish this?
Regards,
Adrian
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV> </DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A
title=akole1@home.com href="mailto:akole1@home.com">Adrian & Marnie Kole</A>
</DIV>
<DIV><B>To:</B> <A title=laurent.lequenne@chello.be
href="mailto:laurent.lequenne@chello.be">Laurent Lequenne</A> </DIV>
<DIV><B>Sent:</B> Saturday, July 28, 2001 10:12 AM</DIV>
<DIV><B>Subject:</B> Re: [Freetype] Vector-only output request</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>HI Laurent,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for the fast response.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I looked at the FT_Outline_Decompose function
already. I'm no expert on using this library, but I still see no way to
get just vectors. It looks like you get line segments and whatever bezier
curves or whatever as output, with no indication as to which parts of the
outline are holes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What I (and I'm sure others) thought would be
useful is to have a way of getting ONLY line segments (no curves as they would
be segmented already using some specified criteria, like a chord angle or
minimum segment length). This way, it would simplify conversion to other
format polyline types like those used in CAD/CAM applications where you might
have an outside outline and the hole outlines--and have the added bonus in that
even if a new font type comes out that supports some other obscure arc type, it
would be handled transparently without the need of code using the FreeType
library to understand the format.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Adrian</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 \
2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original Message \
----- </DIV> <DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=laurent.lequenne@chello.be
href="mailto:laurent.lequenne@chello.be">Laurent Lequenne</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=akole1@home.com
href="mailto:akole1@home.com">Adrian & Marnie Kole</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, July 28, 2001 9:50
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freetype] Vector-only
output request</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Well it has... Ouuuppsss </FONT><FONT face=Arial
size=2>look at the FT_Outline_Decompose function... I developed such thing
that works with the libart library and my own rendering functions as I
only use 32 bits images... And it works great, however the libart renderer
gives me some troubles with overflows. I'm currently rewriting that part (I
should to :-)).</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Laurent</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: \
#000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original \
Message ----- </DIV> <DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=akole1@home.com href="mailto:akole1@home.com">Adrian & Marnie
Kole</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=freetype@freetype.org
href="mailto:freetype@freetype.org">freetype@freetype.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, July 28, 2001 6:25
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Freetype] Vector-only output
request</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>First of all, I am new to FreeType but am
grateful that folks such as yourselves are providing such useful software to
the development community in such a selfless way--many kudos!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have an application in mind for the
library. Unfortunately, it appears that the FreeType library is not
suited for my purposes due to the lack of any ability to output only
vectors. You see, I have the need to convert a text string to
outlines, outputting only vectors (lines)--curves already converted to line
segments and 'holes' in glyphs separated from the actual glyph
outlines. I really have little need for getting bitmap information--I
need vectors that can be taken and converted to a format compatible with
polyline formats used by different applications.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It would really be nice if FreeType supported a
function such as Glyph_to_vectors(), that allows for specifying a 'chord
angle' or similar for specifying the granularity of which to break up
complicated curves. I would think that this would be useful not only
to myself, but to many interested in converting glyph strings to primitive,
simple-to-use outlines.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anyone know of any other tools (or
FreeType add-ins perhaps) that could accomplish this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Adrian</FONT></DIV>
<DIV> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
_______________________________________________
Freetype mailing list
Freetype@freetype.org
http://www.freetype.org/mailman/listinfo/freetype
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic