Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #237788
| From | Teemu Likonen <tlikonen@iki.fi> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Using fontforge to convert TrueType or OpenType fonts to PostScript Type 1 |
| Date | 2021-07-27 07:00 +0200 |
| Message-ID | <CFnma-8b9-1@gated-at.bofh.it> (permalink) |
| References | <CFgaZ-3Ks-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
* 2021-07-26 16:15:01-0500, Tom Browder wrote:
> Can anyone show how to script the above conversion?
It's not good writing style to refer to a subject or heading. A reader
may need to skip back to it if he didn't expect it to be referred later.
Message or document content should be clear even without subject or
heading.
> I have had success creating Type 1 .pfa files using the widget
> interface, but would prefer scripting.
I hope I can help with a script I made long ago for converting font
files. My script's date stamp says 2005-11-26 and I don't remember much
about Fontforge but the script itself is simple and the code explains
itself. Give it font file names as arguments.
#!/usr/bin/fontforge
i = 1
while ( i < $argc )
Open($argv[i])
Generate($argv[i]:r + ".pfa")
i++
endloop
--
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using fontforge to convert TrueType or OpenType fonts to PostScript Type 1 Tom Browder <tom.browder@gmail.com> - 2021-07-26 23:20 +0200
Re: Using fontforge to convert TrueType or OpenType fonts to PostScript Type 1 Teemu Likonen <tlikonen@iki.fi> - 2021-07-27 07:00 +0200
Re: Using fontforge to convert TrueType or OpenType fonts to PostScript Type 1 Tom Browder <tom.browder@gmail.com> - 2021-07-27 15:40 +0200
csiph-web