Importing Custom Fonts

You can import fonts into PopChart Server using the PopChart Font Converter. This small utility is installed in any PopChart installation. If you have chosen to install shortcuts, you should see one for the PopChart Font Converter, otherwise, you can start this utility by running the bin/FontConverter program.

Note: The PopChart Font Converter is base on the TrueType to SVG font converter developed by Steady State Software Limited (http://www.steadystate.com/). The source code for the font converter is available and released under the GNU Lesser General Public License (see docs/other/gnulicense.html). To obtain source code, contact Corda Technologies at support number listed at the front of this manual.

PopChart Font Converter can convert fonts that meet these requirements:

1. The font must be a Windows True Type font.

2. The font must have one of the following character mappings:

3. The font must not create characters by combining multiple glyphs from the font. (The conversion will complete successfully, but the characters will not display correctly).

Because of the True-Type Font requirement, you will most likely need to run this program on a Microsoft Windows system (since they use True-Type Fonts). If you need to import the fonts on another platform, skip to "Installing Custom Fonts on Non-Windows Platforms" below. Otherwise, continue to the next section.

Converting True Type Fonts with the PopChart Font Converter

Converting fonts is a pretty straightforward process. You can convert any True-Type Font files that you have access to from the system containing your PopChart installation by following these steps.

To convert a font in the PopChart Font Converter

1. Start PopChart Font Converter.

If you selected to install the shortcuts when you installed PopChart Server, you will have a shortcut for the PopChart Font Converter. Otherwise, you can run the PopChart Font Converter by starting the bin/FontConverter program.

2. In the Fonts box, enter in the path to the True Type Font you want to convert, or click on the Browse button to the right of the box to locate the folder.

If you are converting a system font—that is, you can use it in programs like Microsoft Word—they will be located in your %SYSTEM%\Fonts folder, where %SYSTEM% is the directory where Microsoft Windows is installed (e.g. C:\Winnt or C:\Windows).

If this is your first time running the PopChart Font Converter, the location you see in the Font Folder box should be that of your system fonts. Otherwise, it will be the location of the last font you converted.

Once a valid folder is selected, the font names should appear in the list box.

3. If necessary, enter into the Output Folder the location where you want to save the converted fonts.

You shouldn't have to change the output folder. All converted fonts should be saved in the lib/fsfiles folder of your PopChart installations, and it should be set to this by default.

4. Select the font you want to convert from the Fonts box.

The Preview box allows you to see what the font looks like.

5. Under Conversion Options, check the boxes of the font styles (i.e. Plain, Bold, Italic, and Bold Italic) that you want to convert.

Many True-Type Fonts (but not all) contain information about several different styles of the font. Most of the time, these styles are plain, italic, bold, and bold italic.

However, each style of a PopChart font is stored in a separate file, so you are given the option of specifying which styles should be converted. By default, the PopChart Font Converter assumes you want to convert all of the styles, but if this is not the case, you should uncheck any styles that you don't want to convert.

6. Choose a name for the converted font by typing it into the Display Name box.

By default, the converted font will have the exact same name as the True-Type Font. However, you can change this name to whatever you want it to be. PopChart Server will only know the font by the name that you give it.

7. Click on the Convert button.

After you click on this button, PopChart Font Converter will begin converting the font. The Status box will indicate the progress of the conversion process. When it says Conversion Process Completed successfully, the conversion process is done.

If the Status box reads Conversion Process Failed, PopChart Font Converter was for some reason unable to convert the specified font. You should try a different font.

Unless you specified otherwise, the converted font files will be located in the lib/fsfiles folder. The files will have a .fsd extension. Their names will be eight characters long, and will be some combination of the font style and the name you gave your font in step 6.

8. If you want to convert more fonts, return to step 2. Otherwise, exit the PopChart Font Converter by clicking the Exit button.

9. The new font will be available for use in any PopChart applications on the local computer upon restarting that application.

Installing Custom Fonts on Non-Windows Platforms

Unless the True-Type Fonts you want to convert are already located on your non-Windows machine you will need to do to one of the following:

Installing Fonts that Have Already Been Converted

If you have fonts that have already been converted to the PopChart Font format, you can install these fonts by going to the Files > Upload Font Files screen in the Administration Console. Alternatively, you can follow this procedure:

To install pre-converted fonts

1. Locate the pre-converted fonts.

These fonts are contained in files with a .fsd extension. If you are importing fonts that you converted on a different PopChart installation, you will find them in the lib/fsfiles folder of that installation.

2. Copy these fonts to the lib/fsfiles folder of your current PopChart installation.

3. Restart any PopChart programs that you are running.

Upon restart, the fonts will be available for use.