Page MenuHomePhabricator

"Aleo" does not include cyrillic characters
Closed, ResolvedPublic


Current font set provide different views for letters in english and russian language.

Task titles in maniphest looks awful when combining both languages.

However description of tasks look more solid.

Event Timeline

vills created this task.Nov 15 2016, 8:27 AM
epriestley renamed this task from Ability to use custom font in UI to "Aleo" does not include cyrillic characters.Nov 15 2016, 2:25 PM
epriestley assigned this task to chad.EditedNov 15 2016, 2:46 PM
epriestley added a subscriber: epriestley.

We distribute "Aleo", but this font does not include cyrillic characters or some other extended latin characters (like "ğ" and "Ğ", from Turkish). It does include some extended latin, like the Polish "ł".

Lato does include these characters, so header text which mixes latin languages renders in a mixture of Aleo and Lato.

For most languages, this doesn't seem to be a particularly big deal. For example, here's Turkish with the fallback set to "Impact" to exaggerate differences:

However, the actual fallback (to Lato) isn't visually distinguishable to me, particularly in this case since both Aleo and Lato have similar (identical?) shapes for the "g" glyph:

When the mixed language is a cyrillic language, we get this instead: cyrillic in Lato, basic latin in Aleo.

Here's the entire text in Lato instead:

Some things we could do:

  • Nothing, since this only creates a minor subjective problem in an edge case (mixing Cyrillic and standard Latin glyphs in an object title).
    • This problem may be more serious for a language which uses a mixture of basic latin and extended latin glyphs, but I couldn't immediately find one: Polish seems to have the glyphs, Turkish doesn't seem to have distinguishable glyphs, and Russian doesn't (normally) use basic latin glyphs.
  • Stop distributing Aleo. Use Lato, not Aleo, for headers.
  • Find some other header font with more glyphs. Use that, not Aleo, for headers.
  • On the server, detect that an object title has only basic latin glyphs, and emit a CSS class like "use-aleo" if it does to render it in Aleo. If the class is not present, use Lato. This will mean that adding a cyrillic character to an English title will remove serifs, but this is probably less jarring than having both styles adjacent in the same header.
  • Find or create a copy of Aleo with these missing glyphs (perhaps by sponsoring the work from @AlessioLaiso).

@vills, see T4213 for discussion of custom themes, skinning, etc.

vills added a comment.Nov 15 2016, 2:54 PM

@vills, see T4213 for discussion of custom themes, skinning, etc.

I saw T4213 before, but this feature request is more about just fixing/changing font, not whole theme.

How could we edit T4213 to make it more clear that it applies to all discussion of themes, skinning, and custom CSS, including fonts?

vills added a comment.Nov 15 2016, 3:09 PM

Write it on the top of task description. Now it looks like task, that inherit other tasks with UI problems/features. Should i close this one?

chad added a comment.Nov 15 2016, 5:03 PM

Yeah these characters don't exist in Aleo. We'll probably move to a different header font, but not sure when/what that may be.

eadler added a project: Restricted Project.Nov 17 2016, 8:53 PM
eadler edited projects, added FreeBSD; removed Restricted Project.Nov 17 2016, 8:53 PM
mbm added a subscriber: mbm.Nov 21 2016, 5:40 PM

The Croatian letter "č" is also missing, but it's the only Croatian diacritic that's not present in the distributed version of Aleo, resulting in this:

The difference isn't huge, though, and it's barely noticeable on a high-density display.