NRSI: Computers & Writing Systems
How to Write a Conversion Mapping for your Legacy Font
The complete list of routines in How to Write a Conversion Mapping for your Legacy Font is here.
What is this Procedure?
This procedure explains how to convert a simple document typed in a legacy font to Unicode. A legacy font1, as referred to in these webpages, is one which has been created to work around the restrictions of the original computer design. It implies a non-standard encoding.
A legacy file is any file typed with a legacy font, and thus having a non-standard encoding.
If you do not understand these terms yet, more information will follow, particularly in steps 1-3.
Do I Need This Procedure?
If you are uncertain whether you need to convert your files to Unicode, follow the first 3 steps for a quick look at your data and your font. This procedure is only needed if you have used one or more legacy fonts, normally provided for a special need, such as for entering IPA or minority language data. If you only work in English or only use fonts that come standard with your operating system, you probably do not need this procedure.
If you decide you need to convert your important data files to Unicode, this webpage explains the procedure for writing a TECkit mapping file and converting a file to Unicode, using your mapping. If you are a Paratext user, consider using the Paratext Converter rather than these instructions.
You should not need to write a mapping for any major national language if your data can be displayed using the standard fonts which came with the operating system. Those conversions are built-in to Microsoft Word and other programs which will identify and convert data automatically. We will not address that procedure in these pages.
These instructions are for Windows XP.
Writing a TECkit mapping is a lengthy procedure, which will increase with difficulty at each step. You should expect to spend several weeks to follow these instructions for writing a mapping. In these instructions, you will create a TECkit mapping to convert a simple data file typed with a legacy font to Unicode. Your mapping may then be used to convert more complex documents such as Word or SFM documents. That procedure is not covered here.
For best results, follow these instructions in order. Each step presumes you know how to do the previous ones. You will need a legacy font and a file typed with that font (a legacy document).
In other words, you will need a non-English document and the font you used to type that document. You will find it helpful to have a work folder and have a shortcut on your desktop to your fonts folder (possibly C:WindowsFonts).
2008-02-27 JW: under review
2005-09-16 JW: Page created