On Thu, 28 Sep 2017, zed wrote:

When I open the Garamond fonts in Font Forge they are displayed

ugmm8a.pfb
ugmmi8a.pfb
ugmmr8a.pfb
ugmmri8a.pfb

Clicking on any one of them displays an edit window and I presume that I
should be able to convert each to something other than .pfb but have no
idea how to do it.

I have looked at several utube videos ...

Zed,

  I know that reading is so 20th Century compared to watching someone's
video on youtube, but the answer can be found on the new fontforge web site
(using the scripts option)[1]. Or check out this techwalla web site (found
with a duckduckgo search
<https://www.techwalla.com/articles/how-to-convert-fonts-from-otf-to-ttf>.
While not the translation you want, the protocol is sound.

  To get you started (and please do read the fontforge scripting tutorial to
tune it for your needs) here is the script I use to convert to .otf fonts:

x<--------------
[1] convert-fonts.sh

#!/usr/bin/fontforge

# Use fontforge to convert .ttf, .pfb, and .svg to .otf
# invoke as ./convert-fonts.sh <font_name>.

i = 1
format = ".otf"
while (i < $argc)
  if ($argv[i] == "-format" || $argv[i] == "--format")
    i = i+1
    if (i < $argc)
      format = $argv[i]
      if (format != ".ttf" && format != ".otf" && \
          format != ".pfb" && format != ".svg")
         Error( "Expected one of '.ttf', '.otf', '.pfb' or '.svg' for format" )
       endif
     endif
   else
     Open($argv[i])
     if ($order == 2 && (format == ".otf" || format == ".pfb" ))
        SetFontOrder(3)
        SelectAll()
        Simplify(128+32+8,1.5)
        ScaleToEm(1000)
      elseif ($order == 3 && format == ".ttf" )
        ScaleToEm(2048)
        RoundToInt()
      endif
      Generate($argv[i]:r + format)
   endif
   i = i + 1
endloop
x<==========================

HTH,

Rich

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to