Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accents or diacritical marks #6

Open
hporten opened this issue Jul 22, 2024 · 0 comments
Open

Accents or diacritical marks #6

hporten opened this issue Jul 22, 2024 · 0 comments

Comments

@hporten
Copy link

hporten commented Jul 22, 2024

I am not a font expert but I have the feeling as if something is wrong with how glyphs with accents and diacritical marks are getting rendered. Not at all, in fact. A letter like U-umlaut gets displayed as an empty space, for example. This can be see online with https://fontdrop.info or even easier with the View all Glyphs option of https://befonts.com/thicccboi-sans-font-family.html.

As a workaround, I tried to use a composition with the documented diacritics for Western languages. For example, U+308 or decimal 776 (COMBINING DIAERESIS) can be seen in the TTF files. So I tried to render the last name Müller by combining the letter u with the HTML entity ̈:

<html>
<head>
<style>
@font-face {
  font-family: thicccboi;
  src: url("https://.....THICCCBOI-Regular.ttf") format("truetype");
}
</style>
</head>
<body>
<div>Mu&#776;ller</div>
<div style="font-family: thicccboi">Mu&#776;ller</div>
</body>
</html>

This works when using the browsers default font but again gives an empty space with the THICCCBOI font:

Müller
M ller

Hence, I suspect that the vector data for accents, umlauts, etc. is present but embedded into the font in a wrong way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant