Maximus5/ConEmu

no support for new Nerd Font Unicode range

markonop93 opened this issue ยท 7 comments

Versions

ConEmu build: 221218 x64
OS version: Windows 10 x64
Used shell version: whatever, for example Powershell7

Problem description

Conemu does not display correct Unicode from this ranges ryanoasis/nerd-fonts#1059 (comment) For example "`u{f45d} `u{f1a5e} `u{e0c3} `u{f1a5f}" in Powershell 7 does not display correct f1a5e and f1a5f. Windows Terminal displays it correct

Steps to reproduce

  1. Use "`u{f45d} `u{f1a5e} `u{e0c3} `u{f1a5f}" command in Conemu Powershell 7

Actual results

Squares (or other unknown character depend on font) display at position 2 and 4
image

Expected results

Regular character from nerd font should display
image

Finii commented

Maybe the title of this should include "5 digit unicode".
The 5 digits means more than 2 bytes, windows with 16 bit chars this is 4 bytes.

Also compare

Also, the unicode-support page linked above talks about 'Font charset'.
In fact there is a bitfield in fonts that inform about the unicode ranges that font contains. If I remember correctly fontforge has a bug that does NOT set the appropriate bit for PUA-A (i.e. 5 digit Nerd Font icons). I have never noticed any application that checks that bits, but maybe it is different here.

Finii commented

@markonop93 for testing purposes I can provide you with a manually corrected charset-bitfield Agave font set, so that we could rule that out (or fix the problem, but I doubt that)?

@Finii sure feel free sending me anything for test ^^
Pls notice I have caching issue so other font which unused by me still would be better . for example Ubuntu Nerd Font

@Finii sorry for ping , only to make sure you did not forgot :)

Finii commented

:-) Sorry, of course I did forget. Let my quickly implement that.

Finii commented

@Finii unfortunately it did not help . same characters dont work