|
|
Home » Community » U++ community news and announcements » 32 bit wchar merged
Re: 32 bit wchar merged [message #57786 is a reply to message #57785] |
Wed, 15 December 2021 10:53 |
|
mirek
Messages: 14112 Registered: November 2005
|
Ultimate Member |
|
|
Tom1 wrote on Wed, 15 December 2021 08:29mirek wrote on Sun, 12 December 2021 17:41The question now remains: When doing replacement, often some replacement font with black&white emoji glyph is closer in appearance than Color Emoji font. That results in mixing colored and B&W emojis. While technically probably more correct, should in case I am looking for emoji glyph always prioritize Noto Color Emoji (or maybe any color emoji font) over matching appearance of font?
Mirek
Hi,
Prioritizing color emoji would give the most consistent user experience on any desktop environment.
Best regards,
Tom
A bit of issue is that Win32 does not support color emoji in GDI as of now. We would need to go Direct2D or something to do that. At least use Direct2D to extract those pictures.
(And yes, in general, I think it might be the time to move from GDI, but I do not want to do that now.)
|
|
|
Re: 32 bit wchar merged [message #57787 is a reply to message #57786] |
Wed, 15 December 2021 11:12 |
Tom1
Messages: 1253 Registered: March 2007
|
Senior Contributor |
|
|
Mirek,
OK, I understand. But please keep me posted if you decide to go ahead with Direct2D or any other GDI replacement option. The 2D graphics functionality and performance on Windows is critically important for me -- and has always been -- so I wish to participate already in early stages to ensure a smooth transition.
Best regards,
Tom
|
|
|
|
Re: 32 bit wchar merged [message #57884 is a reply to message #57883] |
Sun, 26 December 2021 22:09 |
Tom1
Messages: 1253 Registered: March 2007
|
Senior Contributor |
|
|
mirek wrote on Sun, 26 December 2021 21:12Tom1 wrote on Wed, 15 December 2021 08:29mirek wrote on Sun, 12 December 2021 17:41The question now remains: When doing replacement, often some replacement font with black&white emoji glyph is closer in appearance than Color Emoji font. That results in mixing colored and B&W emojis. While technically probably more correct, should in case I am looking for emoji glyph always prioritize Noto Color Emoji (or maybe any color emoji font) over matching appearance of font?
Mirek
Hi,
Prioritizing color emoji would give the most consistent user experience on any desktop environment.
Best regards,
Tom
I made U++ prioritize color emoji in Linux for now. Or most of them, it is not easy to decide which codepoints should prefer color; e.g. copyright sign is considered emoji, but I do not think it would be a good idea to prefer color font for it.
Yes, I see your point. It is indeed difficult to decide which way to go with each of them, but certainly (R) and (C) must be b/w.
This is not a perfectly clear pattern, but it seems that Firefox prioritizes b/w emojis for 16-bit codes and color emojis for higher codes. Also, please note that in Firefox there is a combined gender+skintone+profession in one image, whereas UWord shows a sequence of emojis to identify each property separately. Please open emoji-test.txt (https://unicode.org/Public/emoji/14.0/emoji-test.txt) in Firefox (and maybe Chromium too) to see how they render it. Then compare with UWord.
Best regards,
Tom
Edit: Added link to latest emoji-test.txt.
[Updated on: Sun, 26 December 2021 22:23] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sun Nov 10 20:24:12 CET 2024
Total time taken to generate the page: 0.01148 seconds
|
|
|