-
Notifications
You must be signed in to change notification settings - Fork 305
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
diacritics alignment problems #228
Comments
This diacritics look looks it was auto generated from existing glyphs. But, this approach to make diacritics is interesting. I will look at it. Do you know where this constructed diacritics is used? |
Hm, that's interested, but I know for sure that alacritty(terminal emulator) can't do that at all, it just asks FreeType to get glyph for exactly one char at the time and don't shape them at all. Could you elaborate on what
Idk, I feel like they just happen to be seen from time to time. We've seen them here alacritty/alacritty#1420 and alacritty/alacritty#2620 |
I think it can. The logic of this thing is that's just two glyphs, one after another. The diacritic mark have just negative spacing, so it can be placed correctly. This is possible in every text editor. |
Yeah, as I said. If font has wrong metrics for them, user is out of luck. |
Major changes — Added Greek alphabet #58 — Reworked diacritics #228 — Removed x-height increasing from hinting. Affects non Retina screens. #286 #265 #272 #262 #275 — A lot of tiding up of contours to meet Google Fonts criteria Other updated and fixes — Ligature for 0x (hexadecimal) prefix #98 — Lowered horizontal bar in Florin to make it more distinguishable form italic f #129 — Changes the 8 construction to make it more distinguishable from B and 0 #188 — Added Changelog #263 — Variable font correctly grouped in one family with Italics #270 — Reverted to previous construction of f #273 — Corrected OneNote line height #278 — Removed kerning pair #297 — Add Overline #298 — Increased difference between hyphen, en-dash, and em-dash #318 — Removed the "tail" in the italic a
2.200 doesn't fix this issue in Alacritty. @philippnurullin please reopen. |
Hi @Mouvedia . Please make sure that you removed the the old font from OS fist and please provide screenshots with problem. The exact copy of the code/text in editable format will be nice to. |
@philippnurullin I've rechecked this issue, and it seems like you've added some diacritics, however as far as I can see the However JetBrains mono seems to have a good example of diacritics and it's Unlike some other glyphs from the mentioned 'sample.txt' in the issue. For the test the font version was |
- Removed `.-` ligature #76 - Disabled ligatures for lookahead/lookbehind prefixes (regex) #126 - Added support for combined marks #228 - Added `∪` #244 - Added `➜`(U+279C), `✗`(U+2717), and `✓`(U+2713) #246 - Added `<<~` #291 - Added `‾` Overline #298 - Tuned Cyrillic `в` #335 - Increase BoxDraving. Top +100, bottom +100 #382 - Added `‿` `∁` `∎` `⊸` `⊎` `⨀` `⨆` `∩` `∶` `⊢` `⊤` `⊥` `⊛` `⊖` `⊗` `⊙` `⊕` `◦` `⋆` `ℚ` `ℤ` `slashshortcomb` - Corrected placement of bar in italic `Đ` - Polished Digits
@kchibisov Please test latest push. It took more time that expected, but all the mark that are currently in the font placed with negative LSB. Should work now. |
The ones that I care about are fixed. Thanks! FYI here's a subset of the ones that aren't:
|
The JetBrains Mono is not supporting the all diacritics presented in the sample. All the diacritics it support should work fine. I'm not sure on the popularity of what's left, so i will wait for the request to add it. |
version of the font: 1.0.6
tested on 1.0.5 and it was broken in +- the same way.
It seems like diacritics are still has alignment problems. The following file contains a good test case to check their alignment sample.txt. On the last lines of this file it's way more noticeable, since those chars are inside of the glyphs.
The issue could be observed in alacritty and Firefox 75 on linux. note, Alacritty doesn't perform font shaping, so diacritics weren't combined with anything else (noticeable on Fira Code example, since it renders them a bit better than Firefox)
In alacritty part of this file looks like this:
In Firefox it looks like this(tested by simply pasting in https://godbolt.org/
On the other hand, Fira Code seems to render fine in the mentioned programs.
alacritty
Firefox
The text was updated successfully, but these errors were encountered: