Where to place special characters in a font
- Easy to find for a future user
- Easily accessible on the keyboard
Comments
-
the principal answer to your question is, to check the Unicode tables for your characters, first. In the case of special arrows there are dozens of it encoded and hence you’ll see where to place them.If you don’t find your glyphs as characters in the UCS, there are two possibilities to still incorporate them:a) make them variant glyphs of standard characters and make them accessible via OT functions;b) put them somewhere in the so called Private Use Area.Neither of those options is ideal, however.As for your honorable intentions:• Easy to find for a future user… I have only bad news for you. It just ain’t going to happen because it is not possible. The conventional keyboard is the one great obstacle which safely prevents users from accessing anything but the 19th century typewriter basics, as sad as it is. Everything beyond that will force you and your audience to pass the iced bridge towards the door opening to sinister arts and dark science.
• Easily accessible on the keyboard …
5 -
What Andreas said.
Here are search results for arrows in Unicode:
https://www.fileformat.info/info/unicode/char/search.htm?q=ARROW&preview=entity
Note that those results include all the arrow characters in Unicode including those used as symbols or combining marks in phonetic transcription systems and other forms of semantic text. You will need to look through the results to find the ones that make sense to map to your glyphs.
Also take a look at the Unicode glyph charts specific to arrows:
Arrows
Supplemental Arrows–A
Supplemental Arrows–B
Supplemental Arrows–C
Miscellaneous Symbols and Arrows
1 -
Andreas Stötzner said:
If you don’t find your glyphs as characters in the UCS, there are two possibilities to still incorporate them:a) make them variant glyphs of standard characters and make them accessible via OT functions;b) put them somewhere in the so called Private Use Area.Neither of those options is ideal, however.3 -
Using
$ uni search ARROW | wc -l
there are 618 characters found with ARROW in the name. 174 of them are Math_Symbols.
I wouldn't expect that the current assertions in Unicode are not enough. But there are still some symbols (alchemy, pharmacy, botany) which are used in printed books but don't have a Unicode code point.
Technically a glyph does not need a codepoint in a font. Using the PUA is a last resort and problematic in many ways. But if the PUA is used, why not also support them via OT functions. You can support both.
But in any case don't misuse other codepoints for keyboard convenience. E.g. asserting long_s to $, or mapping Hebrew glyphs to ASCII letters (such fonts still exist), as this did a lot of harm and destroyed data. As a font designer you should care about input methods. There are still many possibilities to input special characters like HTML sequences, special escape sequences like TEX does, virtual keyboards, character pickers etc.1 -
Andreas Stötzner said:As for your honorable intentions:• Easy to find for a future user… I have only bad news for you. It just ain’t going to happen because it is not possible. The conventional keyboard is the one great obstacle which safely prevents users from accessing anything but the 19th century typewriter basics, as sad as it is. Everything beyond that will force you and your audience to pass the iced bridge towards the door opening to sinister arts and dark science.
• Easily accessible on the keyboard …Now, that's not quite true.There are plenty of "dingbat fonts" in the .ttf format for Microsoft Windows that were developed for use under Windows 3.1, which did not have Unicode support. So they just assigned the special characters... to the code positions of "the 19th century typewriter basics"... plus the additional characters added in the 1970s for ASCII terminals with lower-case.That may be a currently deprecated option, but it exists.0 -
John Savard said:There are plenty of "dingbat fonts" in the .ttf format for Microsoft Windows that were developed for use under Windows 3.1, which did not have Unicode support. So they just assigned the special characters... to the code positions of "the 19th century typewriter basics"... plus the additional characters added in the 1970s for ASCII terminals with lower-case.That may be a currently deprecated option, but it exists.Could you make clear what is your point here?Are you suggesting that some 1970ies hack is to be regarded as a solution for current character encoding and access issues?Everyone is free to do whatever hack which comes to his mind, of course. But to speak of solutions is another matter, i.m.h.o.0
-
The good news:
In any application with a “glyphs” palette (nothing to do with the font editor), a group of arrows will be easy for users to find.
Characters such as the primes are much harder to locate!
In FontLab, go to Index mode and move the arrows to the end of the window (if not already there), to make them especially obvious in glyphs palettes.1 -
I wouldn't quite say that fonts like the Symbol font included in Windows are hacks. The TrueType and OpenType specs allow for a 'cmap' table to include a subtable for the "Windows symbol" encoding, which is distinct. It's basically comparable to Unicode PUA, but it's not Unicode. Fonts that use a Windows symbol 'cmap' are following industry specifications so, in that sense, aren't hacks.
Now, those font-format specs don't specify what numeric character codes should be used, and they don't clarify how text using those fonts should be represented in documents. So, that's a bit of a hacky "wild west".0 -
Andreas Stötzner said:Could you make clear what is your point here?Merely to note that what is not recommended, what is not considered advisable, is not at all the same as what "is not possible". I realize you may feel that good practise should be what is shown to beginners, but one should still be accurate.Of course, one important caveat must be noted: back in the days of Windows 3.1, a font with characters that were miscoded was at least an effective way of putting special characters on paper with your laser printer. Of course, it still is.But such a font does not work for putting special characters on a web site, because a user may elect to view the web site with default fonts - and so for Internet use, Unicode-conforming fonts are indeed a practical necessity.1
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 801 Font Technology
- 1K Technique and Theory
- 618 Type Business
- 444 Type Design Critiques
- 542 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 499 Announcements
- 80 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports