draw glyphs from points

Post general font related questions (e.g. how to install, convert and use fonts) and requests (looking for fonts, designers etc.) here.
Post Reply
deepinlife
Posts: 2
Joined: Sun Apr 13, 2014 2:01 am

draw glyphs from points

Post by deepinlife » Sun Apr 13, 2014 2:07 am

Hi Guys. i want to draw a glyph by walking through its stroke point or path outer and inner point . i want to get the points of the path or stroke diminesions like this
glyps { (0,0) , (10,10) ,(20,20) } and so one .. then i can move with a brush on it ..
my problem is how to get these points ?
i googled for some time , and i m confused . i tried some tools to get such points from TTF files , but it seems that points in these files is not a path made of polylines , it is points(control and real points) of quad curves or even more complex curves .
tried inkscape but still not big luck ..
so any ideas ?

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 7078
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: draw glyphs from points

Post by Bhikkhu Pesala » Sun Apr 13, 2014 5:07 am

Truetype Explorer is the only program I know of that will give that kind of detail, though FontCreator will also show the node positions in the hintline.
My FontsReviews: MainTypeFont CreatorHelpFC11.0 Pro + MT7.0 @ Win10 1703

deepinlife
Posts: 2
Joined: Sun Apr 13, 2014 2:01 am

Re: draw glyphs from points

Post by deepinlife » Sun Apr 13, 2014 7:02 am

Bhikkhu Pesala , thx so much for your replay .The prgram u mentioned is very interesting , can get all data structure from the font file , but still it don;t solve my problem .Maybe my explaining for teh prorblem was not clear ,let me explain again
i want a tool which provide me with the point of the path .the points stored in the Free type fonts conating small number of points , some of it is control points(don't belong to the curves) and the other points lay on teh curve . i want to draw lines from every point to the next . which needs many points to draw good looking font .so i need a tool to provide me with such points which wil be 100+ at some glyphs i think !
maybe their is other kind of fonts not using quadratic curve points , have heard about single stroke fonts , but with no luck up to now

Alfred
Top Typographer
Top Typographer
Posts: 924
Joined: Thu Apr 18, 2013 8:08 am

Re: draw glyphs from points

Post by Alfred » Sun Apr 13, 2014 7:04 am

Bhikkhu Pesala wrote:FontCreator will also show the node positions in the hintline
Even when zoomed in closer than 100%, I find that the coordinates shown in the hintline don't always match those shown on the Position tab of the Transform toolbar (F6).
FC11.0 Pro (Help) + MT7.0 (Help) • Windows 10

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 7078
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: draw glyphs from points

Post by Bhikkhu Pesala » Sun Apr 13, 2014 7:32 am

Alfred wrote:
Bhikkhu Pesala wrote:FontCreator will also show the node positions in the hintline
Even when zoomed in closer than 100%, I find that the coordinates shown in the hintline don't always match those shown on the Position tab of the Transform toolbar (F6).
Going off-topic here, but I don't see any disparity. Better start a bug report thread if your findings are any different.
Attachments
Node co-ordinates.png
Node co-ordinates.png (13.52 KiB) Viewed 3823 times
My FontsReviews: MainTypeFont CreatorHelpFC11.0 Pro + MT7.0 @ Win10 1703

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 7078
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: draw glyphs from points

Post by Bhikkhu Pesala » Sun Apr 13, 2014 7:34 am

deepinlife wrote:I need a tool to provide me with such points which will be 100+ at some glyphs I think!
I think you will have to write your own program to plot points. Truetype fonts only contain the points needed to describe the bezier curve.
My FontsReviews: MainTypeFont CreatorHelpFC11.0 Pro + MT7.0 @ Win10 1703

Alfred
Top Typographer
Top Typographer
Posts: 924
Joined: Thu Apr 18, 2013 8:08 am

Re: draw glyphs from points

Post by Alfred » Sun Apr 13, 2014 10:17 am

Bhikkhu Pesala wrote:
Alfred wrote:
Bhikkhu Pesala wrote:FontCreator will also show the node positions in the hintline
Even when zoomed in closer than 100%, I find that the coordinates shown in the hintline don't always match those shown on the Position tab of the Transform toolbar (F6).
Going off-topic here, but I don't see any disparity. Better start a bug report thread if your findings are any different.
My mistake. I was looking at the cursor coordinates in the left-hand corner, not the 'point selected' coordinates. :oops:
FC11.0 Pro (Help) + MT7.0 (Help) • Windows 10

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest