On 2017-06-22 11:53, Nadav Har'El wrote:
> What does it take to "convert" a Type 1 font into OpenType or TrueType?
> Is it just a trivial format conversion issue, or something more
> involved? Is something lost in this conversion - precision, ability to
> edit, or anything else?

I just did a series of tests, and it doesn't seem to be a big deal.

1] In debian, install package 'fontforge'.

2] Create folder ~/.fonts

3] Copy a font's file to your home folder (I chose
/usr/share/fonts/X11/Type1/DorianCLM-Book.*)

4] Follow the instructions at ref[1], but before saving, for the
purpose of the test, go to menu 'element > font info' and change the
name of the font in all fields to something new and unique and
original, like 'aaaa'.

5] When saving the font per the instructions at ref[1], select your
~/.fonts folder, and for the purpose of the test, name the saved font
file 'aaaa'.

6] From the command line 'fc-list aaaa' should return the path to your
new font.

7] Open libreoffice and test the font.

8] What about running in batch mode? Whoa, Google tells me that
'fontforge' supports python scripting[2], and the "simple example"[2]
is none other than converting a Type1 PostScript font (a pfb/afm
combination) into a TrueType font! I didn't play with that.


References:
[1] https://www.maketecheasier.com/how-to-convert-fonts-to-ttf-format-in-ubuntu/
[2] https://fontforge.github.io/scripting-tutorial.html


--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to