Opened 4 years ago

Closed 7 months ago

Last modified 5 months ago

#13096 closed bug (fixed)

fallback font problem

Reported by: michel Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: Servers/app_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


I upgraded to hrev 50714. On rebooting all my system fonts had been reset to Bitstream Charter.

I "fixed" it by manually downloading Noto and setting my fonts to that, as I believe this will be the new standard, but shouldn't noto be listed as a dependency somewhere?

Attachments (1)

IMG_20170203_183337657_HDR.jpg (218.8 KB ) - added by KapiX 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by KapiX, 4 years ago

If you are bored and want to have some fun please do this:

  1. Put some fonts in non-packaged/data/fonts.
  2. Set them in appearance panel.
  3. Set one of them in Terminal.
  4. Reboot to make sure everything propagated properly :)
  5. Remove the folder.
  6. ???
  7. Definitely NOT PROFIT.

Terminal won't start - a bunch of divisions by 0, since fFontWidth and fFontHeight are initialized to 0, and there is no file to take the measurements from. Menus don't open (or rather they do open, but all that appears is just a 2x2 rect), Appearance panel is unusable, and Screenshot takes the whole screen so your only option is hard reset.

I wonder if I could make the whole install unusable if I didn't put the folder back before rebooting. It's amazing how easy it was to break everything so badly.

Of course, it's definitely not something you should do, but I can imagine some people having bad friends, or just bad luck (for example removing the folder by mistake or used font files getting corrupted).

I wanted to make a patch for terminal, but this should be fixed on a lower level.

I am attaching a screenshot.

by KapiX, 4 years ago

comment:2 by pulkomandy, 4 years ago

It was already discussed when DejaVu was moved to a package. Now we switch the font to Noto and the problem pops again.

The situation for app_server is very simple: there is one fallback font, and it is VL-Gothic. The Haiku package should depend on the VL-Gothic one, so that font is always available. Or, if we decide Noto is the new fallback, we adjust app_server to use Noto as the fallback font, and then, the Haiku package could depend on the Noto one.

When that is done, we can also remove the old "bitstream charter" font which for some reason is still bundled with Haiku. It should also be a separate package.

comment:3 by diver, 3 years ago

Component: - GeneralServers/app_server
Owner: changed from nobody to axeld

comment:4 by axeld, 3 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:5 by pulkomandy, 7 months ago

Resolution: fixed
Status: assignedclosed

Noto is now the fallback font and a dependency of the haiku package.

comment:6 by nielx, 5 months ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.