Opened 5 years ago

Last modified 4 years ago

#15877 new bug

[app_server] Severall font fallbacks broken (noto cjk)

Reported by: nephele Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Servers/app_server Version: R1/Development
Keywords: Cc:
Blocked By: #16527 Blocking:
Platform: All

Description (last modified by nephele)

I have created a test file for StyledEdit to demonstrate this (I know the bugtracker etiquette sais to include a file extension, but i have no clue what that is here, sorry) edit: revision i tested on is hrev54042

Most notably:

  • All Noto Sans Display italic variants are broken (Is there italics in CJK? are we supposed to skew glyphs or fall back to regular (or thin, bold etc. as apropriate) here?)
  • Noto Sans Display extrabold is broken
  • All Noto Serif Display variants are broken (Maybe fall back to Sans here completely unless a noto-serif cjk font is installed?)

Somewhat related: https://review.haiku-os.org/c/haiku/+/2461
Somewhat unrelated: The cursor position for some of the styles in StyledEdit is /really/ far off, like 1.5cm off of the glyph on my screen.

Attachments (2)

CJK_testfile (5.0 KB ) - added by nephele 5 years ago.
Testfile, includes a sentence for all noto sans display and noto serif display variants
CJK_testfile.zip (3.4 KB ) - added by nephele 5 years ago.
Same file in a zip for extended attributes (I am not sure the bugtracker saves those, so use this if it doesn't)

Download all attachments as: .zip

Change History (8)

by nephele, 5 years ago

Attachment: CJK_testfile added

Testfile, includes a sentence for all noto sans display and noto serif display variants

by nephele, 5 years ago

Attachment: CJK_testfile.zip added

Same file in a zip for extended attributes (I am not sure the bugtracker saves those, so use this if it doesn't)

comment:1 by nephele, 5 years ago

Description: modified (diff)

comment:2 by X512, 5 years ago

Italic style is usually not used in CJK languages, if used it just shear glyph geometry. There are usually no separate italic fonts.

comment:3 by waddlesplash, 4 years ago

Please retest after hrev54241.

comment:4 by nephele, 4 years ago

Noto Sans Display extrabold works now
The Noto Sans Display *italic variants are still broken

Noto Serif Display (medium, regular, thin, black, extralight, light) now display
Noto Serif Display (bold, semibold, extrabold) are still broken
Noto Serif Display *italic variants are still broken

edit: i misthought, it is about fallback actually...

Last edited 4 years ago by nephele (previous) (diff)

comment:5 by bitigchi, 4 years ago

Blocked By: 16527 added

comment:6 by nephele, 4 years ago

It looks like the only part missing now is to strip the "italic" part of the font fallbacks as an additional step, if no fallback is found before going back to the default style.

Note: See TracTickets for help on using tickets.