Re:It takes a PhD to develop that
by mwcampbell on Monday October 04, 2021 @08:22AM
(#28745736)
It looks like refterm is hard-coded to use Cascadia Mono, which isn't included in-box with Windows 10. So I don't know what happens if you don't have that font. If that's the only issue, then I think we can let that one go, as refterm is clearly only a proof of concept, and one-time logic for choosing the correct font at startup would presumably have no effect on rendering speed.
[ Parent
| on HN ]
Re:It takes a PhD to develop that
by avereveard on Monday October 04, 2021 @08:30AM
(#28745800)
Re:It takes a PhD to develop that
by mwcampbell on Monday October 04, 2021 @08:38AM
(#28745864)
I suspect an i18n issue. What locale are you using, and what is the decimal separator character supposed to be in your locale?
Re:It takes a PhD to develop that
by avereveard on Monday October 04, 2021 @08:45AM
(#28745935)
https://i.imgur.com/WrsVwFz.png
absolutely standard
Re:It takes a PhD to develop that
by mwcampbell on Monday October 04, 2021 @08:57AM
(#28746069)
It looks like your "Digit grouping symbol" field is empty. I'm sure that's standard in some locales, though not for US English. I don't know how to make that field empty; when I try, Windows says it's invalid. So I wonder if your locale sets that separator to some kind of Unicode character that, in a proper renderer, is equivalent to no character at all. If that's the case, then I'm guessing refterm could handle that character as easily as it handles VT escape codes. But this does lend some weight to the position that Casey was oversimplifying things a bit.
well, whatever is different in your settings,
mine renders normal
https://imgur.com/dGI5W2S
EDIT: I am sorry for the attitude, changed "wrong" to "different"
Re:It takes a PhD to develop that
by mwcampbell on Monday October 04, 2021 @09:32AM
(#28746487)
Their settings aren't wrong, just different, likely because of differing standards for digit grouping across locales. So this is a case that refterm clearly doesn't support. This case by itself doesn't invalidate refterm's approach to rendering, but I can see why the team at Microsoft, knowing that there are many such cases, would favor abstraction over the absolute best possible speed.
Re:It takes a PhD to develop that
by avereveard on Monday October 04, 2021 @10:46AM
(#28747412)
which is exactly the point.