Learning about EPS glyphs in relation to FontCreator

Discuss FontCreator here, please do not post support requests, feature requests, or bug reports!
Post Reply
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Learning about EPS glyphs in relation to FontCreator

Post by William »

I was looking at the following thread.

viewtopic.php?f=4&t=199

I was unaware of EPS and so decided to look it up.

I found the following.

http://en.wikipedia.org/wiki/Encapsulated_PostScript

For the benefit of those of us not familiar with EPS could someone possibly say some more about this format and perhaps attach a sample EPS file for readers to study please?

I am wondering about whether EPS relates in some way to pdf files that contain vector graphic images?

William Overington

9 June 2009
Erwin Denissen
Moderator
Moderator
Posts: 11158
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Learning about EPS glyphs in relation to FontCreator

Post by Erwin Denissen »

Most vector image editing software make use of cubic bézier curves and straight line segments to define a path or an object.

Some more of the internals that are relevant to the upcoming vector import feature can be found here:
viewtopic.php?f=1&t=1600

A sample EPS file:

Code: Select all

%!PS-Adobe-3.0 EPSF-3.0
%%Creator: 0.46
%%Pages: 1
%%Orientation: Portrait
%%BoundingBox: 93 52 503 716
%%HiResBoundingBox: 93.714288 52.171411 502.85714 715.42858
%%EndComments
%%Page: 1 1
0 842 translate
0.8 -0.8 scale
0 0 0 setrgbcolor
[] 0 setdash
1 setlinewidth
0 setlinejoin
0 setlinecap
gsave [1 0 0 1 0 0] concat
gsave
1 0 0 setrgbcolor
newpath
608.57144 679.50507 moveto
608.57144 849.04792 505.53144 986.64792 378.57144 986.64792 curveto
251.61144 986.64792 148.57144 849.04792 148.57144 679.50507 curveto
148.57144 509.96221 251.61144 372.36221 378.57144 372.36221 curveto
505.53144 372.36221 608.57144 509.96221 608.57144 679.50507 curveto
closepath
stroke
gsave
0 0 0 setrgbcolor
newpath
455.64436 739.89791 moveto
501.69314 747.15386 lineto
494.43072 781.43567 480.97921 808.04082 461.33856 826.96934 curveto
441.69748 845.89791 416.61001 855.36219 386.07605 855.36219 curveto
347.61944 855.36219 317.1266 840.27193 294.59744 810.09136 curveto
272.06818 779.91089 260.80356 737.58453 260.80358 683.11219 curveto
260.80356 626.74735 272.19197 583.00135 294.9688 551.8741 curveto
317.74553 520.74745 347.28936 505.18398 383.60031 505.18362 curveto
418.75565 505.18398 447.47422 520.43197 469.75608 550.92767 curveto
492.03751 581.42397 503.17832 624.32868 503.17858 679.64196 curveto
503.17832 683.0072 503.09579 688.05482 502.93101 694.78481 curveto
306.85235 694.78481 lineto
308.50278 731.59049 316.67272 759.77301 331.36218 779.33243 curveto
346.05149 798.89201 364.37195 808.67177 386.32363 808.67172 curveto
402.66335 808.67177 416.61001 803.20351 428.16364 792.26696 curveto
439.71691 781.33051 448.87713 763.87417 455.64436 739.89791 curveto
455.64436 739.89791 lineto
closepath
309.32809 648.09434 moveto
456.13951 648.09434 lineto
454.1587 619.91204 448.54703 598.77514 439.30447 584.68362 curveto
425.11004 562.8109 406.70707 551.8744 384.09546 551.8741 curveto
363.62922 551.8744 346.42285 560.60257 332.47627 578.05862 curveto
318.52953 595.51523 310.81348 618.86044 309.32809 648.09434 curveto
309.32809 648.09434 lineto
closepath
fill
grestore
gsave
0 0 0 setrgbcolor
newpath
117.14286 158.07646 moveto
628.57142 158.07646 lineto
628.57142 326.64789 lineto
117.14286 326.64789 lineto
117.14286 158.07646 lineto
closepath
fill
grestore
grestore
showpage
%%EOF
Erwin Denissen
High-Logic
Proven Font Technology
William
Top Typographer
Top Typographer
Posts: 2038
Joined: Tue Sep 14, 2004 6:41 pm
Location: Worcestershire, England
Contact:

Re: Learning about EPS glyphs in relation to FontCreator

Post by William »

Thank you.

William
Post Reply