[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1037256: debian-installer: GUI font for Japanese was incorrectly rendered



Hello back (on the bug this time)!

Kentaro HAYASHI <kenhys@xdump.org> (2025-03-02):
> I hope this bug will be fixed in trixie.

Yeah, that was still definitely on my list! For those who have only
followed the bug report, I've written a bunch of things on the “main”
merge request:
  https://salsa.debian.org/installer-team/rootskel-gtk/-/merge_requests/5

Trying to support compressed fonts seem too complicated, and I'm not
sure it's worth spending more time on trying to understand why some
things are not working currently (e.g. fc-cache at build time creates
then deletes cache files), and more importantly what would be required
for runtime font decompression to work (e.g. for Tibetan/Dzongkha and
for Japanese).

I've just done two things:
 - Uploaded rootskel-gtk, switching the font for Japanese and bumping
   the size. Since tests were done comparing 9pt and 10pt, and since the
   MR is about just +1, I'm sticking to that value. In my very limited
   and Japanese-newbie experience, +2 (which can be seen for many other
   fonts) would make things a little more readable… but then I'm only
   familiar with most katakana and hiragana characters, and just a pair
   of kanji ones. If someone wants to experiment with a different size,
   one way to do so is to switch to a console (Ctrl-Alt-F2), then use
   `nano /usr/bin/gtk-set-font` to adjust the FONT_SIZE setting, before
   going back to the language selection screen.
 - Updated the master branch of the debian-installer repository,
   embedding MotoyaLCedar manually.

Depending on the timing of what's getting built/tested, the following is
expected:
 - old rootskel-gtk, old d-i branch: DejaVu Sans fallback
                                     (VL Gothic is gone)
 - new rootskel-gtk, old d-i branch: DejaVa Sans fallback
                                     (MotoyaLCedar isn't there yet)
 - old rootskel-gtk, new d-i branch: DejaVu Sans fallback
                                     (VL Gothic is still gone,
                                     MotoyaLCedar is here now,
                                     rootskel-gtk doesn't know about it)
 - new rootskel-gtk, new d-i branch: MotoyaLCedar (yay!)

There should be no combinations getting badly broken (missing glyphs),
and I think I've tested everything, but please let me know if something
weird happens!

This Saturday's daily builds should still have the old rootskel-gtk (the
new one got uploaded too late regarding the upcoming cron jobs), but
Sunday's daily build should be fine. I might trigger a manual build for
amd64 and arm64 early Saturday to speed things up a little (in which
case the timestamps will be much later than around midnight for
cron-triggered builds).

Remember: It's really easy to bump the size by +2 instead of +1 if
desired, another upload is very cheap. Don't hesitate!


And again, thanks for all your work, including many MRs. I'm sorry to
have mentioned the compression thing, which is likely to have cost you
quite some time trying to make it work. :( At the time, I was merely
brainstorming, aiming to find a way to get the best option available
(BIZ UDPGothic) without some high extra cost, but that doesn't seem
achievable without some black magic, so let's go for the second best
option, MotoyaLCedar.


I'll wait a little to see if everything looks good on the runtime side,
then I'll try and see if we can get a cleaner integration (via a proper
udeb, now that we're rather convinced this is going to be our end game).


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature


Reply to: