chiark / gitweb /
Change Dwarf Fortress character 0xED to be phi1 rather than phi.
authorBen Harris <bjh21@bjh21.me.uk>
Sun, 24 Nov 2013 13:30:35 +0000 (13:30 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 24 Nov 2013 13:30:35 +0000 (13:30 +0000)
IBM's definition of CP437[1] makes it clear that this character should
be a closed phi, but for some reason their mapping from Graphic
Character Global Identifier (GCGID) to Unicode gets the two phi
variants the wrong way around, which means that a lot of CP437 to
Unicode mappings list this character as U+03C6.

[1] <http://www-01.ibm.com/software/globalization/cp/cp00437.html>

df.ps

diff --git a/df.ps b/df.ps
index 5236569f8cc4d0dadda55f756ff5d245236344cb..461b4af9a405864cfa9bb156f4c0cb093ad8d492 100644 (file)
--- a/df.ps
+++ b/df.ps
@@ -43,7 +43,7 @@
 [ /SF460000/SF470000/SF480000/SF490000/SF500000/SF510000/SF520000/SF530000
   /SF540000/SF040000/SF010000/block/dnblock/lfblock/rtblock/upblock ] row
 [ /alpha/germandbls/Gamma/pi/Sigma/sigma/mu/tau
-  /Phi/Theta/uni03A9/delta/infinity/phi/epsilon/intersection ] row
+  /Phi/Theta/uni03A9/delta/infinity/phi1/epsilon/intersection ] row
 [ /equivalence/plusminus/greaterequal/lessequal/integraltp/integralbt/divide
   /approxequal/degree/uni2219/periodcentered/radical/uni207F/twosuperior
   /filledbox/space ] row