
## Section10Font Tests

We place various blocks of Unicode characters here to determine the minimum configuration necessary to make them render. Alan Wood’s Unicode Resources site has been helpful in formulating these tests.

##### Basic Latin, U+0000–U+007F

These 95 characters are the most basic, and should all render using xelatex with no special setup. U+0000 to U+001F are control codes and not used here. U+007F is also a control code and so is excluded. We have also replaced reserved characters by their MathBook XML equivalent empty elements

##### Monospace, Basic Latin, U+0000–U+007F

These are exactly the same characters as above, but now we wrap them in the <c> element intended for inline use. This does not test all verbatim situations but is a good simple first test.

Note that the single and double quotes are upright and dumb, not curly and smart: " ' " ' " '. The zero is distinguished from the capital “oh”: 0 O 0 O 0 O. And the numeral one is slightly different from the lower-case “ell”: 1 l 1 l 1 l. The hyphen should be short and not expanded into some other kind of dash: - - -. These characters should all cut/paste out of a PDF into a text editor with no conversion to other characters.

Note also that we have entered all these characters into the source with the &#x00NN; XML notation, but needed to “protect” the question mark, since we use it in the verbatim routine to mark the beginning and end.

##### Latin-1 Supplement, U+0080–U+00FF

These 94 characters should all render using either pdflatex or xelatex with no special setup. U+0080 to U+009F are control codes and not used here. U+00A0 (non-breaking space) and U+00AD (soft hyphen) are also excluded.

##### Monospace, Latin-1 Supplement, U+0080–U+00FF

The same 94 characters as above, wrapped in a <c> element as if being used inside a sentence. These will all render with xelatex and none will render with pdflatex (so there is just blank space below). If we improve the latter, then these will get duplicated into the sample article.

##### Latin Extended-A, U+0100–U+017F

Good success rendering with xelatex and no extra setup. About 25% of these are missing when rendered with pdflatex.

Rendered with xelatex and no special setup, I seem to be missing only four characters:

• U+0138 (LATIN SMALL LETTER KRA, Greenlandic, removed 1973)
• U+0149 (LATIN SMALL LETTER N PRECEDED BY APOSTROPHE, Afrikaans, deprecated as of Unicode version 5.2.0)
• U+0166 (LATIN CAPITAL LETTER T WITH STROKE, Northern Sámi alphabet, used in northern parts of Norway, Sweden and Finland)
• U+0167 (LATIN SMALL LETTER T WITH STROKE, Northern Sámi alphabet, used in northern parts of Norway, Sweden and Finland)
##### Latin Extended-B, U+0180–U+024F

Rendering with xelatex and no extra setup, maybe 50% missing, and some constructions of accents are clearly wrong. Almost none of these appear when rendered with pdflatex. (When processed with lualatex the incorrectly accented characters are not even visible.)

This table is left-over and will be redone, perhaps.