commit df2d9ec9d169626cdc2a23829bb2831738215722 from: Igor Burago via: David du Colombier <0intro@gmail.com> date: Tue Jun 26 21:24:22 2018 UTC fontsrv: omit box-drawing characters from line struts on macOS For some fonts, using box-drawing characters in the representative text for computing the line height results in it being uncomfortably high. Replace them with accented capitals and tall lower-case letters which lead to a more conservative increase in the line height. Fixes #162. commit - 03a8ec739af17bc4ba0a2e18ea59b33671c34f2b commit + df2d9ec9d169626cdc2a23829bb2831738215722 blob - 4d969290b515c7511774bb391d8d4035b57c0ada blob + b28ee2522c8e961b1c792e597e9e0286d73cfbb3 --- src/cmd/fontsrv/osx.c +++ src/cmd/fontsrv/osx.c @@ -104,7 +104,7 @@ static char *lines[] = { "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz", "g", - "┌┬┐├┼┤└┴┘│─", + "ÁĂÇÂÄĊÀČĀĄÅÃĥľƒ", "ὕαλον ϕαγεῖν δύναμαι· τοῦτο οὔ με βλάπτει.", "私はガラスを食べられます。それは私を傷つけません。", "Aš galiu valgyti stiklą ir jis manęs nežeidžia",