ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* On creating my own fonts
@ 2009-06-19  1:20 Maurí­cio
  2009-06-19  8:13 ` Taco Hoekwater
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Maurí­cio @ 2009-06-19  1:20 UTC (permalink / raw)
  To: ntg-context

I've been doing some searching on how to create my own fonts. If
possible, I would like to be able to write my own program to
at least draw glyphs, even if I have to resort to other tools
to describe hinting, kerning and ligatures.

My current knowledge is this. I read that OpenType fonts are
actually Type 1 fonts embedded in an archive. So I used this
't1disasm' tool I found after wikipedia article on postscript
fonts and used it to decode one of ConTeXt minimal distribution
font file into a nice to read text file that looks like the
transcript below, and it seems to be something I could easily
understand if I find a reference.

I would like to ask you if I'm in the proper direction. There
are some issues I can't understand, like how can I make OpenType
fonts out of Type 1 fonts when the later are supposed to only
contain 256 characters (aren't they?). Or how to understand
this text file format so I can write my own glyphs.

Do you think I'm in the right direction. Do you think there's
an easier or better way if I want to create fonts without
using existing graphical tools?

Thanks,
Maurício

%%%%

Converted file excerpt:

(...)

/char03 {
	-25 625 hsbw
	-64 21 hstem
	564 -20 hstem
	0 175 vstem
	150 -64 rmoveto
	14 11 12 13 hvcurveto
	246 vlineto
	462 -267 rlineto
	4 -2 4 -2 5 0 rrcurveto
	9 0 8 5 5 8 rrcurveto
	2 3 1 5 0 4 rrcurveto
	578 vlineto
	0 4 -1 4 -2 4 rrcurveto
	-5 8 -8 5 -9 0 rrcurveto
	-5 0 -4 -2 -3 -2 rrcurveto
	-463 -267 rlineto
	246 vlineto
	13 -11 12 -14 vhcurveto
	-125 hlineto
	-14 -11 -12 -13 hvcurveto
	-578 vlineto
	-13 11 -12 14 vhcurveto
	closepath
	endchar
	} ND
/char04 {
(...)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-06-26 16:30 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-19  1:20 On creating my own fonts Maurí­cio
2009-06-19  8:13 ` Taco Hoekwater
2009-06-19  8:18   ` luigi scarso
2009-06-20 19:07     ` Maurício
2009-06-20 20:17       ` Khaled Hosny
2009-06-21  2:15         ` Maurício
2009-06-22 10:51           ` Khaled Hosny
2009-06-19  9:43 ` Mojca Miklavec
2009-06-19 11:41   ` Khaled Hosny
2009-06-25 14:16     ` William Adams
2009-06-25 14:25       ` luigi scarso
2009-06-25 14:37         ` William Adams
2009-06-25 17:32           ` Joel C. Salomon
2009-06-26 12:34             ` Arthur Reutenauer
2009-06-26 16:30               ` Joel C. Salomon
2009-06-19 11:49 ` Khaled Hosny
2009-06-19 15:17 ` luigi scarso
2009-06-22 10:39   ` Piotr Kopszak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).