Search the Community
Showing results for tags 'truetype'.
-
-
- video
- postscript
-
(and 2 more)
Tagged with:
-
-
Hello, I'm just delving into font technologies, so please forgive whatever ignorance demonstrated by my question. I'm modifying and extending an Erlang application that generates PDF files: https://github.com/hwatkins/erlguten Currently it supports 13 Adobe Type I fonts. I'd like to add OpenSource TrueType fonts. To do this, I need to end up with modules that looks something like this: https://github.com/hwatkins/erlguten/blob/master/src/eg_font_7.erl NOTE: You can open *.erl files with any text editor. In other words, I need to convert TrueType font metrics into the format illustrated in this file. ErlGuten has a conversion module that may or may not help: https://github.com/hwatkins/erlguten/blob/master/src/eg_afm.erl Googling galore, I find many references to TrueType .ttf files, but can't find how to derive/find the actual metrics. Can kind souls please point the way? And/or please let me know if I'm missing anything else of importance to complete my task. All the best, LRP eg_font_7.erl eg_afm.erl