🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #64

Re: stroke and fill

#64
From: Aandi_Inston
Date: Fri, 25 Jul 2008 12:04
22 lines
1790 bytes
Ok, ultimately fonts are defined using a number of PostScript
operators. Maybe eexec (for type 1 fonts), definefont (for type 3
fonts and remapped existing fonts), or others. Composite and CID fonts
are used for OpenType mapping and Japanese; these are awesomely
complicated too.

Once a font is defined it is stored in a system dictionary with a
name. Then the findfont or selectfont operator can be used to locate
that font and work with it (i.e. paint characters in the font).

If you see a font which is short bursts of hexadecimal interpersed
with PostScript, it is probably (but not necessarily) a type 3 font. A
type 3 font is a dictionary, with all sorts of entries. One of the
entries is itself a dictionary, and each entry in THAT is a procedure
which draws one letter. In a bitmap type 3 font, each character's
procedure will use imagemask (rarely image) to paint a character, and
then use some other operators.

This is fairly deep stuff, and you'll probably want to study the
chapter on fonts in some depth if you have to deal with such things.

Aandi Inston
Technical Details
Message-ID: <4889c03c.1096555293@adobeforums.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing
References: <59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.24@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,59978ad8602309c9
X-Google-Attributes: gid10c61a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Aandi_Inston@adobeforums.com
Newsgroups: adobe.postscript.programming
Subject: Re: stroke and fill
Message-ID: <4889c03c.1096555293@adobeforums.com>
Date: Fri, 25 Jul 2008 05:04:41 -0700
References: <59b5e90e.-1@webcrossing.la2eafNXanI> <59b5e90e.24@webcrossing.la2eafNXanI>
Lines: 22
X-Newsreader: Forte Free Agent 1.21/32.243
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news4us.nl!webcrossing