Comments (14)
I am super curious as to whether BOTH the WOFF and WOFF2 versions have the same bad behavior.
from fonts.
@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.
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.
from fonts.
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.
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.
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.
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](https://private-user-images.githubusercontent.com/48698976/299074086-01f0adbd-3da0-432a-aa37-48b1ff20dbbc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgzNDM3MDEsIm5iZiI6MTcxODM0MzQwMSwicGF0aCI6Ii80ODY5ODk3Ni8yOTkwNzQwODYtMDFmMGFkYmQtM2RhMC00MzJhLWFhMzctNDhiMWZmMjBkYmJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE0VDA1MzY0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlhMzI4MzIxMWY2NDJjYmY0NGQ3MzYzZWQzZWMxZWIyODc4NTU3ZmE4YjRmODc1ZjVjYzRjYjEzODk4MTg0OWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.65oBBV3oZK-o_Jx964oh4CypE33z0EkfPs8Xd7BJkyI)
Which ttx command did you use?
from fonts.
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.
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.
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.
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.
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.
Hi @vv-monsalve, please find attached all fonts I'm using (woff and woff2).
from fonts.
Hi @vv-monsalve, did you have a chance to check the loaded fonts? Thanks.
from fonts.
Related Issues (20)
- ufo file of CJK font is too large HOT 1
- Add German umlauts to Gugi HOT 1
- Deduplicate lookups in Crimson Text HOT 4
- Rene Bieder - Campton HOT 4
- Lato font - Missing Czech characters and additional weights HOT 4
- Impossible to use "Noto [Sans/Serif] [SC/TC/JP/KR]" fonts in Google Chrome/MSEdge HOT 8
- Roboto Flex character "Ī" is broken HOT 1
- Request to update Unna
- Rquest to alter line spacing and size in Noto Nastaliq Urdu HOT 2
- Request for italic version of Quicksand HOT 4
- Add Badeen Display HOT 2
- Roboto is still missing the german capital ẞ (Eszett) character
- Update Big Shoulders families with `opsz` axis
- Add Bungee Tint HOT 4
- Ga Maamli: Add Designers and assets HOT 1
- Add designer Laura Garcia Mut HOT 1
- Request for more style options for Bellefair HOT 1
- Add [Font Name]
- Add [Vogue] HOT 3
- TrashHand HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fonts.