Re: unexpected behavior with FXFontSelector
[email protected] Fri, 30 Jun 2023 12:18:08 -0500
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
On 2023-06-30 08:51, John Selverian wrote:
> I'm seeing something strange with FXFontSelector (Fox v1.7.50)
>
>
>
> I've added Unicode for a subscript 2 (\\u2082 <file://u2082> ) to
> the preview text.
>
>
>
> I select Arial and it displays fine. Back in my program the
> subscript 2 shows as an empty box indicating that the character
> does not exist.
>
>
>
> My program should be correct since it displays the subscript 2
> fine with other fonts (like Segoe UI).
>
>
>
> I've also check with MS Word that the subscript 2 does not exist
> in the Arial.
>
>
>
> My question is how/why does it display fine in the preview in
> FXFontSelector even though it does not exist in Arial? It even
> looks like the Arial font. I see the same with other fonts not
> just Arial.
Make sure both are using the same font and pitch. Not all fonts
have the full unicode repertoire in them; in fact, most fonts have
only a fraction of the full repertoire of glyphs.
-- JVZ