brace yourselves: font change is coming
#1
According to this notice Haiku's default font will change from DejaVu to Noto. DejaVu will be a downloadable package not included in the default install

If you have been lazy like me and not specified your fonts in your applications, you may want to upgrade once this change has come though and see what your apps look like now. Maybe it will be all right, but maybe there will be that one button where the text gets cut off. But if you did specify your fonts and want to keep it that way, you'll need to specify DejaVu in your HPKG as a dependency.

Hmm, in href 50714 all the fonts fall back to Bitstream Charter. I've put in a ticket.
Reply
#2
How does one add a font requirement to an .hpkg?
Reply
#3
requires {
dejavu
}

same as anything else, I guess. If it exists as an HPKG you can specify it as a dependency.

the current package is listed here: https://depot.haiku-os.org/#/pkg/dejavu/...bc371-LDNX
In my experience you can ignore the capitalisation and just give it in lowercase. Don't know why it is in the x86_64 repository. B ut you should have it in your /boot/system/packages folder
Reply
#4
Fixed Bookmarker and noose .hpkg files. Thanks for the heads-up.
Reply
#5
It seems that they changed back to DejaVu. The changes I made to packages to require DejaVu are not now required, but if they change fonts again I'm covered.
Reply
#6
<groan> Sometimes I have to ask myself why we bother ...
Reply
#7
At least requiring dejavu doesn't break the package.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting