Giter VIP home page Giter VIP logo

Comments (13)

tphinney avatar tphinney commented on June 14, 2024 1

I am super curious as to whether BOTH the WOFF and WOFF2 versions have the same bad behavior.

from fonts.

vv-monsalve avatar vv-monsalve commented on June 14, 2024 1

@stefmulas, could you please confirm which of the woff formats you are using? You could attach here a .zip file of the font

from fonts.

vv-monsalve avatar vv-monsalve commented on June 14, 2024

Hi @stefmulas, thanks for your report. However, I've just tested this on iOS 17.2.1, and I can't replicate the issue; everything looks good.
ios17-1
ios17-2

from fonts.

stefmulas avatar stefmulas commented on June 14, 2024

Hi @vv-monsalve,

Yes, as I said, there is no problem in devices with iOS 17 and newer. The problem is with older operative systems. Let me know if you can check with older OS. Thanks.

from fonts.

vv-monsalve avatar vv-monsalve commented on June 14, 2024

I can see now that the issue you mentioned can be replicated on iOS 16 when checked with Browserstack. However, after reviewing both the TTF distributed font (download zip) and the Woff files provided through the font's repository, the € sign is working correctly. Thus, this appears to be a shaping issue related to iOS rather than a font bug.

from fonts.

tphinney avatar tphinney commented on June 14, 2024

Interesting. I would be tempted to solely blame iOS, but if iOS did this with all WOFF and WOFF2 fonts prior to 2023, surely we would have heard more complaints.

Note: the MacRoman single-byte codepoint for the euro symbol is 0xdb, and the Unicode codepoint for the capital U with circumflex is U+00DB.

I see that when I do a ttx dump of Montserrat-Regular.woff2 from the original Montserrat repo that both cmaps (supposedly Unicode even) in that file map 0xdb to cap U with circumflex.

EDIT: Ignore this next comment, see further below
So my question is, how did the font bug get worked around by Apple?! 😛

from fonts.

vv-monsalve avatar vv-monsalve commented on June 14, 2024

Well, I downloaded the fonts and tested them on Wakamai, and they worked well.
Now, after ttx it, I see

Screen Shot 2024-01-23 at 14 05 15

Which ttx command did you use?

from fonts.

tphinney avatar tphinney commented on June 14, 2024

Gah, my bad. I mean, the Unicode is fine, there is no MacRoman cmap either.

The one small thing that confused me is that ttx leaves off the leading zeroes so somehow in my head that was a single-byte encoding I was looking at when I saw:
<map code="0xdb" name="Ucircumflex"/><!-- LATIN CAPITAL LETTER U WITH CIRCUMFLEX -->

Certainly the coincidence of codepoints is somehow related to the bug, but I don’t see how it is Montserrat’s fault.

from fonts.

vv-monsalve avatar vv-monsalve commented on June 14, 2024

What is strange, though, is that I only see <map code="0xdb" name="Ucircumflex"/><!-- LATIN CAPITAL LETTER U WITH CIRCUMFLEX --> when I ttx the GF distributed VF. But not on the ttx for woff from the upstream repo.

from fonts.

tphinney avatar tphinney commented on June 14, 2024

I ran ttx on the WOFF2 file from the upstream repo, that you linked. huh.

As you are well aware, U with cirumflex is a massively common character in fonts, so it is not like supporting it is unusual. Nearly every Google Font supports it. It is used in French as well as some more obscure places.

I keep on feeling like there is some big clue in all this, that we are just not quite figuring out. If there is nothing “wrong” with the font, I just want to understand why the bug would not affect nearly all fonts?

from fonts.

tphinney avatar tphinney commented on June 14, 2024

Is it possible that the particular WOFF or WOFF2 the user has, has been subset to not have the euro?

Somebody else reported the exact same bug here, with an unspecified font, 3 years ago: https://stackoverflow.com/questions/66109937/euro-sign-%E2%82%AC-is-rendered-as-%C3%9B-only-on-iphone

They concluded the euro was missing from their WOFF file, but rather than regenerating a better WOFF file, their solution was to not use WOFF.

from fonts.

vv-monsalve avatar vv-monsalve commented on June 14, 2024

I ran ttx on the WOFF2 file from the upstream repo, that you linked. huh.

I first ran it only on woff, but not woff2. Below is the complete report for each format.

  • Montserrat-VariableFont_wght.ttf
    (GF distributed version, zip download)

    <map code="0xdb" name="Ucircumflex"/><!-- LATIN CAPITAL LETTER U WITH CIRCUMFLEX -->
    <map code="0x20ac" name="Euro"/><!-- EURO SIGN -->
    
  • Montserrat-Regular.woff2
    (Designer's repository, under fonts/webfonts)

    <map code="0xdb" name="Ucircumflex"/><!-- LATIN CAPITAL LETTER U WITH CIRCUMFLEX -->
    <map code="0x20ac" name="Euro"/><!-- EURO SIGN -->
    
  • Montserrat-Regular.woff
    (Designer's repository, under fonts/webfonts)

    No Ucircumflex on the cmap table
    <map code="0x20ac" name="Euro"/><!-- EURO SIGN -->
    

from fonts.

stefmulas avatar stefmulas commented on June 14, 2024

Hi @vv-monsalve, please find attached all fonts I'm using (woff and woff2).

woff fonts.zip

from fonts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.