| 1 |
Non-BMP Unicode bitmap fonts supported by FontForge |
| 2 |
=================================================== |
| 3 |
|
| 4 |
Ironically, FontForge is stuck in the dark ages when it comes to using fonts. It |
| 5 |
should be using libXft and gtk to get full unicode support. |
| 6 |
|
| 7 |
It doesn't. It continues to use the old X bitmap interface which the X |
| 8 |
consortium isn't interested in extending beyond BMP (since libXft/gtk do this |
| 9 |
well and there is no point in redoing that for an obsolete interface). |
| 10 |
|
| 11 |
But I'd like to draw non-BMP characters at least in my font view. |
| 12 |
|
| 13 |
To this end I have made FontForge recognize some non-standard encodings: :: |
| 14 |
|
| 15 |
-*-*-*-*-*--*-*-*-*-*-*-UnicodePlane-{1,2,3,...16} |
| 16 |
|
| 17 |
:: |
| 18 |
|
| 19 |
-fontforge-planeone-medium-r-normal--13-120-75-75-p-101-unicodeplane-1 |
| 20 |
|
| 21 |
Is a font that fontforge will interpret as containing glyphs from plane 1 |
| 22 |
(Supplementary Multilingual Plane) -- starting with Linear B glyphs. |
| 23 |
|
| 24 |
As a proof of concept I've created a bdf font containing all the Linear B |
| 25 |
syllables, and not much of anything else (I am aware that the CODE200? fonts |
| 26 |
provide good glyphs for the non-bmp characters, but they are shareware so I |
| 27 |
can't just rasterize them and redistribute them). |
| 28 |
|
| 29 |
If anyone would like to submit glyphs to this font (or to putative similar ones |
| 30 |
for planes 2&14) I'll try and coordinate that process. |
| 31 |
|
| 32 |
* `PlaneOne.sfd <https://fontforge.org/downloads/PlaneOne.sfd.bz2>`__ |
| 33 |
* `PlaneOne-13.bdf <https://fontforge.org/downloads/PlaneOne-13.bdf.bz2>`__ |
| 34 |
* `toplane.c <https://fontforge.org/downloads/toplane.c.bz2>`__ |
| 35 |
|
| 36 |
The sfd file is encoded with a "full unicode" encoding. The program toplane.c |
| 37 |
will take a bdf containing one Unicode plane, figure out which plane it is, and |
| 38 |
reencode the font with the appropriate UnicodePlane mapping. |