Draw: installing Equation fonts for importing EPS files

 

PROBLEM

Importing an EPS file created with IslandEquation into IslandDraw doesn't work properly.  The imported equation(s) only vaguely look like they did in Equation.

SOLUTION

Basically, Draw doesn't have access to Equation's special fonts. The Equation fonts have to be installed in IslandDraw.

To make them accessible, you will have to create a font family for each of the Equation fonts from IslandDraw's Font Installer dialog, File>Fonts>Font Installer...  Once these fonts are installed, you should be able to import your Equation file, which has been saved as EPS.

Printing note: If you are trying to print an equation from IslandDraw or IslandEquation, you must remember to toggle on the "Include Fonts" checkbox in the Print dialog box...

The IslandEquation 1.0 fonts (located in $IOFFICE/fonts) are:

Computer Modern font files:
     cmbx10.ps (Weight: Bold, Style: Upright)
     cmex10.ps (Weight: Medium, Style: Upright)
     cmmi10.ps (Weight: Medium, Style: Italic)
     cmr10.ps (Weight: Medium, Style: Upright)
     cmsy10.ps (Weight: Medium, Style: Italic)
     cmti10.ps (Weight: Medium, Style: Italic)
     cmtt10.ps (Weight: Medium, Style: Upright)

Euler font files:
     msam10.ps (Weight: Medium, Style: Upright)
     msbm10.ps (Weight: Medium, Style: Upright)
 

Method: Using the Font Installer

Use this method if you have already installed some fonts which don't come as part of the Island distribution.
 

FOR EACH EQUATION FONT FILE LISTED ABOVE, CREATE A NEW FONT FAMILY:

  1) Click on an Equation font file in the Files list.
  2) Enter the "Full Name" of the font in the Family name field, e.g.
         The full name of cmbx10.ps is "CMBX10".
  3) Place the cursor in the Roman field.
  4) Click the font file from step 1, which should fill the field.
  5) Make sure the Bold, Italic and Bold Italic fields are empty.
  6) Click the "Add" button to add the font to the Installed Fonts list.
  7) Repeat steps 1-6 for next font file.

When you are finished adding all nine fonts, click the Install button   to install the fonts.

Note: If you made a mistake when entering the font family information, you can choose the added font, modify the settings, and hit the Modify button to apply the change.  Then, click Install again.

Method: Local Font File Installation (easier)

If you haven't added any custom fonts, you can use this method in which you use the files created by IslandDraw 4.0 from the Island Productivity Series 5.x.

Following are two files which can be placed in your personal ioffice directory ($HOME/ioffice/fonts).  If you already have a Fonts.ini and FontMap there, you may have installed custom fonts.  You can check to see whether you have made any local changes by comparing your local Font.ini and FontMap files against the global ones, i.e.

 % diff $HOME/ioffice/fonts/FontMap $IOFFICE/fonts/FontMap
 % diff $HOME/ioffice/fonts/Fonts.ini $IOFFICE/fonts/Fonts.ini

If there are no major differences in these files you should be safe to replace these files with the ones provided below. Otherwise, you should use the Manual Method above.

Create the following two files your $HOME/ioffice/fonts directory by cutting out the text between the separators.  Note: If you don't have a 'fonts' directory under ioffice, then create it with the mkdir command.

------------------% begin: $HOME/ioffice/Fonts.ini %-----------------------
FONTS (
DefineFont (
        FamilyName ("AvantGarde"),
        user_font ("False"),
        MediumFontName ("AvantGarde-Book"),
        MediumFileName ("AvantGarBoo.ps"),
        BoldFontName ("AvantGarde-Demi"),
        BoldFileName ("AvantGarDem.ps"),
        ItalicFontName ("AvantGarde-BookOblique"),
        ItalicFileName ("AvantGarBooObl.ps"),
        BoldItalicFontName ("AvantGarde-DemiOblique"),
        BoldItalicFileName ("AvantGarDemObl.ps"),
        ),

DefineFont (
        FamilyName ("Bookman"),
        user_font ("False"),
        MediumFontName ("Bookman-Light"),
        MediumFileName ("BookmLig.ps"),
        BoldFontName ("Bookman-Demi"),
        BoldFileName ("BookmDem.ps"),
        ItalicFontName ("Bookman-LightItalic"),
        ItalicFileName ("BookmLigIta.ps"),
        BoldItalicFontName ("Bookman-DemiItalic"),
        BoldItalicFileName ("BookmDemIta.ps"),
        ),

DefineFont (
        FamilyName ("Courier"),
        user_font ("False"),
        MediumFontName ("Courier"),
        MediumFileName ("Courier.ps"),
        BoldFontName ("Courier-Bold"),
        BoldFileName ("CouriBol.ps"),
        ItalicFontName ("Courier-Oblique"),
        ItalicFileName ("CouriObl.ps"),
        BoldItalicFontName ("Courier-BoldOblique"),
        BoldItalicFileName ("CouriBolObl.ps"),
        ),

DefineFont (
        FamilyName ("Helvetica"),
        user_font ("False"),
        MediumFontName ("Helvetica"),
        MediumFileName ("Helve.ps"),
        BoldFontName ("Helvetica-Bold"),
        BoldFileName ("HelveBol.ps"),
        ItalicFontName ("Helvetica-Oblique"),
        ItalicFileName ("HelveObl.ps"),
        BoldItalicFontName ("Helvetica-BoldOblique"),
        BoldItalicFileName ("HelveBolObl.ps"),
        ),

DefineFont (
        FamilyName ("Helvetica-Narrow"),
        user_font ("False"),
        MediumFontName ("Helvetica-Narrow"),
        MediumFileName ("HelveNar.ps"),
        BoldFontName ("Helvetica-Narrow-Bold"),
        BoldFileName ("HelveNarBol.ps"),
        ItalicFontName ("Helvetica-Narrow-Oblique"),
        ItalicFileName ("HelveNarObl.ps"),
        BoldItalicFontName ("Helvetica-Narrow-BoldOblique"),
        BoldItalicFileName ("HelveNarBolObl.ps"),
        ),

DefineFont (
        FamilyName ("NewCenturySchlbk"),
        user_font ("False"),
        MediumFontName ("NewCenturySchlbk-Roman"),
        MediumFileName ("NewCenSchRom.ps"),
        BoldFontName ("NewCenturySchlbk-Bold"),
        BoldFileName ("NewCenSchBol.ps"),
        ItalicFontName ("NewCenturySchlbk-Italic"),
        ItalicFileName ("NewCenSchIta.ps"),
        BoldItalicFontName ("NewCenturySchlbk-BoldItalic"),
        BoldItalicFileName ("NewCenSchBolIta.ps"),
        ),

DefineFont (
        FamilyName ("Palatino"),
        user_font ("False"),
        MediumFontName ("Palatino-Roman"),
        MediumFileName ("PalatRom.ps"),
        BoldFontName ("Palatino-Bold"),
        BoldFileName ("PalatBol.ps"),
        ItalicFontName ("Palatino-Italic"),
        ItalicFileName ("PalatIta.ps"),
        BoldItalicFontName ("Palatino-BoldItalic"),
        BoldItalicFileName ("PalatBolIta.ps"),
        ),

DefineFont (
        FamilyName ("Symbol"),
        user_font ("SYMBOLFONT"),
        MediumFontName ("Symbol"),
        MediumFileName ("Symbo.ps"),
        ),

DefineFont (
        FamilyName ("Times-Roman"),
        user_font ("DEFAULT"),
        MediumFontName ("Times-Roman"),
        MediumFileName ("TimesRom.ps"),
        BoldFontName ("Times-Bold"),
        BoldFileName ("TimesBol.ps"),
        ItalicFontName ("Times-Italic"),
        ItalicFileName ("TimesIta.ps"),
        BoldItalicFontName ("Times-BoldItalic"),
        BoldItalicFileName ("TimesBolIta.ps"),
        ),

DefineFont (
        FamilyName ("ZapfChancery"),
        user_font ("False"),
        ItalicFontName ("ZapfChancery-MediumItalic"),
        ItalicFileName ("ZapfChaMedIta.ps"),
        ),

DefineFont (
        FamilyName ("ZapfDingbats"),
        user_font ("ZAPDINGFONT"),
        MediumFontName ("ZapfDingbats"),
        MediumFileName ("ZapfDin.ps"),
        ),

DefineFont (
        FamilyName ("CMBX10"),
        user_font ("True"),
        MediumFontName ("CMBX10"),
        MediumFileName ("cmbx10.ps"),
        ),

DefineFont (
        FamilyName ("CMEX10"),
        user_font ("True"),
        MediumFontName ("CMEX10"),
        MediumFileName ("cmex10.ps"),
        ),

DefineFont (
        FamilyName ("CMMI10"),
        user_font ("True"),
        MediumFontName ("CMMI10"),
        MediumFileName ("cmmi10.ps"),
        ),

DefineFont (
        FamilyName ("CMR10"),
        user_font ("True"),
        MediumFontName ("CMR10"),
        MediumFileName ("cmr10.ps"),
        ),

DefineFont (
        FamilyName ("CMSY10"),
        user_font ("True"),
        MediumFontName ("CMSY10"),
        MediumFileName ("cmsy10.ps"),
        ),

DefineFont (
        FamilyName ("CMTI10"),
        user_font ("True"),
        MediumFontName ("CMTI10"),
        MediumFileName ("cmti10.ps"),
        ),

DefineFont (
        FamilyName ("CMTT10"),
        user_font ("True"),
        MediumFontName ("CMTT10"),
        MediumFileName ("cmtt10.ps"),
        ),

DefineFont (
        FamilyName ("MSAM10"),
        user_font ("True"),
        MediumFontName ("MSAM10"),
        MediumFileName ("msam10.ps"),
        ),

DefineFont (
        FamilyName ("MSBM10"),
        user_font ("True"),
        MediumFontName ("MSBM10"),
        MediumFileName ("msbm10.ps"),
        ),
)
---------------% end: $HOME/ioffice/fonts/Fonts.ini %---------------------

---------------% begin: $HOME/ioffice/fonts/FontMap %---------------------
%!
  <<
    /AvantGarde-Book (AvantGarBoo.ps)
    /AvantGarde-Demi (AvantGarDem.ps)
    /AvantGarde-BookOblique (AvantGarBooObl.ps)
    /AvantGarde-DemiOblique (AvantGarDemObl.ps)
    /Bookman-Light (BookmLig.ps)
    /Bookman-Demi (BookmDem.ps)
    /Bookman-LightItalic (BookmLigIta.ps)
    /Bookman-DemiItalic (BookmDemIta.ps)
    /Courier (Courier.ps)
    /Courier-Bold (CouriBol.ps)
    /Courier-Oblique (CouriObl.ps)
    /Courier-BoldOblique (CouriBolObl.ps)
    /Helvetica (Helve.ps)
    /Helvetica-Bold (HelveBol.ps)
    /Helvetica-Oblique (HelveObl.ps)
    /Helvetica-BoldOblique (HelveBolObl.ps)
    /Helvetica-Narrow (HelveNar.ps)
    /Helvetica-Narrow-Bold (HelveNarBol.ps)
    /Helvetica-Narrow-Oblique (HelveNarObl.ps)
    /Helvetica-Narrow-BoldOblique (HelveNarBolObl.ps)
    /NewCenturySchlbk-Roman (NewCenSchRom.ps)
    /NewCenturySchlbk-Bold (NewCenSchBol.ps)
    /NewCenturySchlbk-Italic (NewCenSchIta.ps)
    /NewCenturySchlbk-BoldItalic (NewCenSchBolIta.ps)
    /Palatino-Roman (PalatRom.ps)
    /Palatino-Bold (PalatBol.ps)
    /Palatino-Italic (PalatIta.ps)
    /Palatino-BoldItalic (PalatBolIta.ps)
    /Symbol (Symbo.ps)
    /Times-Roman (TimesRom.ps)
    /Times-Bold (TimesBol.ps)
    /Times-Italic (TimesIta.ps)
    /Times-BoldItalic (TimesBolIta.ps)
    /ZapfChancery-MediumItalic (ZapfChaMedIta.ps)
    /ZapfDingbats (ZapfDin.ps)
    /CMBX10 (cmbx10.ps)
    /CMEX10 (cmex10.ps)
    /CMMI10 (cmmi10.ps)
    /CMR10 (cmr10.ps)
    /CMSY10 (cmsy10.ps)
    /CMTI10 (cmti10.ps)
    /CMTT10 (cmtt10.ps)
    /MSAM10 (msam10.ps)
    /MSBM10 (msbm10.ps)
  >>
---------------% end: $HOME/ioffice/fonts/FontMap %------------------------