Opened 10 years ago
Closed 10 years ago
#11581 closed bug (fixed)
[HaikuDepot] doesn't display rating stars without VL-Gothic fonts
Reported by: | diver | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/HaikuDepot | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #11620 | |
Platform: | All |
Description
Ever since VL-Gothic fonts were outsourced in hrev48457 HaikuDepot can't display rating stars in columnlistview if vl_gothic package is not installed. Featured packages view still display stars though (custom drawing?).
Attachments (1)
Change History (13)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Looks like I'm not seeing the same here, no VL-Gothic present but plenty of stars in HaikuDepot. Clean, from Linux cross-compiled hrev48460, gcc2, nightly-vmware profile. Attaching screenshot. Fwiw, I'm using the default locale.
by , 10 years ago
Attachment: | hrev48460_gcc2_nightly.png added |
---|
comment:3 by , 10 years ago
Ok, this was because of droid fonts package. Without it stars are back. So I guess something is wrong with font overlay then?
Edit: it was a combination of PT Rouble
(used for testing ruble symbol) and droid
fonts.
comment:5 by , 10 years ago
No, actually we do have some font overlay support. But the font used for the overlay is hardcoded, IIRC.
comment:6 by , 10 years ago
Diver, when you had the droid installed, did you also use it as your system default font?
comment:7 by , 10 years ago
Yes, that what I've just tested. With DejaVu set as plain text the stars are there. With droid set as plain text there are no stars. VL-Gothic was not installed in both tests.
comment:8 by , 10 years ago
Ah, I didn't notice that. So here is probably what happens:
- The stars are available in DejaVu, but not Droid
- You didn't have VL-Gothic installed so there was no way to fallback to it (it is our only fallback font currently)
Root problem is the same anyway: we need a better font overlay that will look for missing symbols in more fonts, until it finds one that works.
comment:9 by , 10 years ago
It appears that the Haiku base package should declare a dependency to VL-Gothic, since that is actually the situation. The app_server hard-codes VL-Gothic in the fall-back, so it "depends" on it. There is no question that the font overlay mechanism could be a lot better, however, declaring the dependency is a) correct and b) fixes the problem at hand.
comment:11 by , 10 years ago
Sorry for the dup. As I've reported on my ticket, I've also found this issue with Terminal. I can confirm that installing the VL Gothic font has solved the issue, although I use different fonts for displaying.
comment:12 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I should note that the VL-Gothic package is added to the release profile, making this not too critical for R1.