From: Ian Jackson Date: Sat, 30 Apr 2016 11:23:09 +0000 (+0100) Subject: 10x20: Process more fully. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=f381e9e435ac317b21d721565dfc949be864692b;p=xfonts-traditional.git 10x20: Process more fully. Provide a hand-edited good/10x20.sfd, generated using fontforge from bad/6x13.sfd, which adjusts more than just ` '. Specifically: provide a single new hand-drawn shape for the comma and both single quotes; increase the weight of the full stop; adjust the colon and semicolon to match. Justifications for the changes: - Our primary goal is matched quotes, so at least the single quote (which in post-2000 10x20 is vertical) needs changing. - The quote glyphs in the pre-2000 10x20 are rather poor, when used in a matched pair. They are rather more slanted and rather less tall than seems usual for quotes. Using these for quotes results in an (IMO) odd appearance for quoted strings. - 10x20 is very like 6x13 in overall style but pre-2000 6x13 quotes have a rather different (and IMO better) look. - The comma should have the same shape as the quotes, like in 6x13. But in pre-2000 10x20, the comma and the single quotes have different shapes. - The pre-2000 comma is very similar to the full stop. This makes them hard to distinguish at high DPI. - The colon and semicolon should contain exactly a full stop and a comma; but the pre-2000 colon and semicolon's lower marks are raised compared to the corresponding standalone mark. Again, this is not much like 6x13. - The weight of the pre-2000 10x20 full stop and colon are anomalous: in general the weight of 10x20 is similar to that of 6x13 scaled up (eg, the 10x20 A has 54 pixels out of 200, 27%, compared to the 6x13 A which has 20 pixels out of 78, 26%). The 6x13 stop is 5 pixels (6.4%) but the pre-2000 10x20 stop is 6 pixels (3.0%). We compromise by increasing it to 9 pixels (4.5%). Signed-off-by: Ian Jackson --- diff --git a/debian/changelog b/debian/changelog index 8fb263c..62d3f87 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,7 @@ xfonts-traditional (1.7.2~~iwj) UNRELEASED; urgency=medium Additional fonts: - * Process `10x20' too. (It was shifted down a pixel during the - conversion; we don't undo this, yet. So far, we just fix the quotes.) + * Process `10x20' too. * Process Neep 6x13 and 10x20 too (for apostrophe only). Packaging improvements: diff --git a/debian/copyright b/debian/copyright index f30a767..a918541 100644 --- a/debian/copyright +++ b/debian/copyright @@ -39,9 +39,9 @@ xfonts-base 3.3.6-2. Mark Wooding created the `good' version of this font by hand-editing the `bad' version. The edited version, like the original, is in the public domain. -good/neep-alt-iso8859-1-*.sfd were modified from the corresponding -bad/*.pcf.gz by Ian Jackson using fontforge and are under the same -licence as the .pcf.gz. +good/neep-alt-iso8859-1-*.sfd and good/10x20.sfd were modified from +the corresponding bad/*.pcf.gz by Ian Jackson using fontforge and are +under the same licence as the .pcf.gz. The copyright files for the font packages follow. diff --git a/good/10x20.pcf.gz b/good/10x20.pcf.gz deleted file mode 100644 index cd1b2d4..0000000 Binary files a/good/10x20.pcf.gz and /dev/null differ diff --git a/own/10x20.sfd b/good/10x20.sfd similarity index 100% rename from own/10x20.sfd rename to good/10x20.sfd diff --git a/specs b/specs index de3a211..81c1c25 100644 --- a/specs +++ b/specs @@ -43,18 +43,6 @@ entire ' pcf 10x20 rules Trad - -verbatim if ($props{' 7bit'}) { -# below was generated by -# entire ` ' -# and then edited to shift the replacement characters down like -# the rest of the font (!) -verbatim s/^0000;0000;0000;1800;0C00;0600;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000$/0000;0000;0000;3C00;1C00;0600;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000/; # ` -verbatim s/^0000;0000;0000;0C00;0C00;0C00;0C00;0800;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000$/0000;0000;0000;0F00;0E00;1800;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000;0000/; # ' -verbatim } - -# pcf 10x20 ours -# rules Iwj -# entire ` ' : ; . , +entire ` ' : ; . , endrules