On 2025-01-13 07:15, Thomas Wolff via Cygwin wrote:
Am 13.01.2025 um 13:39 schrieb Dr Bean via Cygwin:
On 2023/10/08, Thomas Wolff wrote about mintty font handling:
By the way, as CJK fonts are usually not very suitable for Latin text
(mostly not being monowidth in the first place), there is a useful
mechanism in mintty that allows you to use your favourite CJK and
non-CJK fonts together. It's the FontChoice setting for secondary
fonts:
Font=Lucida Console
Font2=MS ゴシック
FontChoice=CJK:2
This solved the problem I was having with half-width Korean characters.
Because the MingLiu font was good for Japanese and Latin text, and the
good Korean Malgun Gothic font did not draw Japanese characters well, I have in
.minttyrc:
Font=MingLiU
Font2=Malgun Gothic
FontChoice=Hangul:2
This works without problem.
I'm now looking for a math font to render the
√π⁷≤∞
Most fonts I checked, including Consolas and my favourite DejaVu Sans
Mono, render these characters well.
Unicode example of the recent
https://blog.orange.tw/posts/2025-01-worstfit-unveiling-hidden-transformers-
in-windows-ansi/
article using the same FontChoice mechanism
The MingLiu font rendering of 'π' is unreadable.
Does anyone have suggestions for a math font?
If you are a fan of DejaVu family for its code point coverage and distinct
glyphs of confusables you may like TeX Gyre DejaVu Math AKA DejaVu Math TeX Gyre
or its LGC variant containing mainly Latin, Greek, and Cyrillic script glyphs,
or other TeX family Math fonts:
https://ctan.org/tex-archive/fonts/tex-gyre-math/opentype
https://github.com/dejavu-fonts/dejavu-fonts/blob/master/README.md
$ fc-query /usr/share/fonts/dejavu/DejaVuMathTeXGyre.ttf
Pattern has 28 elts (size 32)
family: "DejaVu Math TeX Gyre"(s)
familylang: "en"(s)
style: "Regular"(s)
stylelang: "en"(s)
fullname: "DejaVuMathTeXGyre-Regular"(s)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 80(f)(s)
width: 100(f)(s)
foundry: "Deja"(s)
file: "/usr/share/fonts/dejavu/DejaVuMathTeXGyre.ttf"(s)
index: 0(i)(s)
outline: True(s)
scalable: True(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 8df3dfff ffffffff ffffffff
0001: cfcff0ff 7ecfcf0c cfff3dfe ff0fcf3f 00040000 00018003 00000000 00003c00
0002: 0f000000 00800000 00000000 00000000 00000000 00000000 3f0000c0 00000000
0003: 00029fff 810ff048 00002000 00000000 fffe0000 fffe03fb 006203ff 00330000
000e: 00000000 80000000 00000000 00000000 00000000 00000000 00000000 00000000
001e: 00000000 00000000 00000000 00000000 00000000 ffffffff ffffffff 03ffffff
0020: 77fd3fff 2eff8047 80840010 0000001f 00000000 00061a52 f9ff0000 0001ff72
0021: 7feffe8c f1fbfdd5 000003e1 00000000 cfff0000 fcff7eff 3fffffff 006803c0
0022: e7ffffff ffffffff ffffffff ffffffff ffffffff fffcffff ffefffff 0003ffff
0023: f2010f61 0000060f 00000000 00000000 f8000000 00bc7fff f0010000 00000003
0024: 00000000 0000000c 00000000 00000000 00000000 00000000 00000000 00000000
0025: 11111005 10101010 00000000 00000000 000e0102 34cc3c03 00008c13 00008040
0026: 00000000 00000000 00000000 0000e4ff 00000000 00006000 00000000 00000000
0027: 00080000 00000001 00000000 00000000 00000000 00000002 7f000004 fff0cfcf
0029: 000000c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
002a: 0002127f 80008000 00000000 60000000 00601fe0 00018000 00000000 00000000
002b: 040030f0 000a0000 00000000 00000000 00000000 00000000 00000000 00000000
002e: 01000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0030: 00c00000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00fb: 0000001f 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00fe: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 80000000
01d4: ffffffff ffffffff ffdfffff ffffffff dfffffff ebffde64 ffffffef ffffffff
01d5: dfdfe7bf 7bffffff fffdfc5f ffffffff ffffffff ffffffff ffffffff ffffffff
01d6: ffffffff ffffffff ffffffff ffffffff ffffffff ffffff3f ffffffff ffffffff
01d7: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffc3ff ffffffff
(s)
lang:
aa|ay|bi|bin|br|bs|ch|co|cs|da|de|en|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|ho|hr|hu|ia|ig|id|ie|io|is|it|ki|lb|lt|lv|mg|mh|nb|nds|nl|nn|no|nr|nso|oc|om|pl|pt|rm|ro|sk|sl|sma|smj|smn|so|sq|ss|st|sv|sw|tk|tl|tn|tr|ts|uz|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|ms|na|ng|pap-an|pap-aw|rn|rw|sc|sg|sn|su|za|und-zmth|agr|ayc|bem|dsb|lij|mfe|miq|mjw|nhn|niu|sgs|tpi|unm|wae|yuw(s)
fontversion: 155320(i)(s)
capability: "otlayout:math"(s)
fontformat: "TrueType"(s)
decorative: False(s)
postscriptname: "DejaVuMathTeXGyre-Regular"(s)
color: False(s)
symbol: False(s)
variable: False(s)
fonthashint: False(s)
order: 0(i)(s)
namedinstance: False(s)
fontwrapper: "SFNT"(s)
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple