POV-Ray : Newsgroups : povray.general : text paths? : Re: text paths? Server Time
29 Jul 2024 18:16:11 EDT (-0400)
  Re: text paths?  
From: bart
Date: 18 Nov 2010 15:11:58
Message: <4ce5888e$1@news.povray.org>
On 11/18/2010 06:02 PM, Sherry Shaw wrote:
> I wonder if Elefont would help you get where you're going. You can get
> it here:
>
> http://www.armanisoft.ch/webdesign/elefont/Elefont.html
>
Another worth looking at is FontForge.
Format of exported .eps file for a glyph is in plain text
and easy to analyse. For example, the paths sequence
for the POV-Ray logo looks like:
%%Page ".notdef" 1
gsave newpath
	170 429 moveto
	 188 429 203.5 422.5 216.5 409.5 curveto
	 229.5 396.5 236 381 236 363 curveto
	 236 344.333 229.5 328.667 216.5 316 curveto
	 203.5 303.333 188 297 170 297 curveto
	 152 297 136.5 303.333 123.5 316 curveto
	 110.5 328.667 104 344.333 104 363 curveto
	 104 381 110.5 396.5 123.5 409.5 curveto
	 136.5 422.5 152 429 170 429 curveto
	closepath
	89 317 moveto
	 97 303 108.167 291.5 122.5 282.5 curveto
	 136.833 273.5 152.667 269 170 269 curveto
	 173.333 269 179 269.667 187 271 curveto
	 170 246 lineto
	 204.667 250 234 262.833 258 284.5 curveto
	 282 306.167 294 331.333 294 360 curveto
	 294 392 279.333 419.333 250 442 curveto
	 220.667 464.667 185 476 143 476 curveto
	 111 476 82.3333 469 57 455 curveto
	 31.6667 441 13.6667 423.333 3 402 curveto
	 12.3333 434 32.5 460.5 63.5 481.5 curveto
	 94.5 502.5 130.333 513 171 513 curveto
	 218.333 513 259 498.333 293 469 curveto
	 327 439.667 344 404.667 344 364 curveto
	 344 322.667 327 287.5 293 258.5 curveto
	 259 229.5 218.333 215 171 215 curveto
	 161 215 153.667 215.333 149 216 curveto
	 1 1 lineto
	 69 243 lineto
	 45 257.667 26.3333 277 13 301 curveto
	 27 283 45.3333 269.333 68 260 curveto
	 69.3333 258.667 71 258 73 258 curveto
	 89 317 lineto
	closepath
fill grestore


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.