grassmunk / Chicago95

A rendition of everyone's favorite 1995 Microsoft operating system for Linux.
4.57k stars 155 forks source link

Bold font isn't bitmap #140

Open Vixtron opened 4 years ago

Vixtron commented 4 years ago

I just used fontforge and window titlebar font isn't bitmap when I selected the Microsoft Sans.

EMH-Mark-I commented 4 years ago

Can you run the two following commands and then paste the output to here into a code form?

ls -l ~/.config/fontconfig/conf.d/ ls -l /etc/fonts/conf.d

Thanks

Vixtron commented 4 years ago

http://ix.io/2sbD only in /etc/fonts/conf.d

Vixtron commented 4 years ago

Screenshot_20200729-224945_Samsung Internet Is it possible to get this window title font in xfce 4.14 anymore?

EMH-Mark-I commented 4 years ago

Sorry for the late replies; I've been busy with work.

So that screenshot was taken from an XFCE 4.14 desktop and the bold title font does work there. If you're running on a Debian (Debian based - not counting Ubuntu) distribution, I've received messages from some that the bold font doesn't work correctly. Strangely though I have the fonts working correctly across my Debian 9 (Xfce 4.12 there), Testing, and MX Linux VMs.

I wonder if it might have anything to do with font forge. I'll have to admit, fonts are not my forte.

We can check to see if the file permissions are correct. Can you run the following from a terminal?

ls -l ~/.fonts/truetype/ | grep -i ms_sans_serif && ls -l ~/.fonts/truetype/ms_sans_serif/
ls -l /usr/share/fonts/truetype/ | grep -i ms_sans_serif && ls -l /usr/share/fonts/truetype/ms_sans_serif
Vixtron commented 4 years ago

Permissions in /usr/share/fonts/truetype/ms_sans_serif/* are 644, as for the local fontconfig they aren't modified.. I am on Arch, could be their fontconfig perhaps? I know for a fact my permissions are correct. I had someone confirm that the bold font doesn't work on xubuntu as well.

EMH-Mark-I commented 4 years ago

Well, I'm unsure of what would be the cause. Have you run sudo fc-cache -f -v? Also just to make sure nothing is wrong here, can you cat out "/etc/fonts/conf.d/99-ms-sans-serif-bold.conf "

july0516 commented 4 years ago

I had a similar issue trying this on Ubuntu (20.04). Strangely, I was able to get the font to display correctly in the font selecting preview, but it reverted to the system's bold sans serif font when applied.

farmerbb commented 4 years ago

The bold font issue is caused by this commit: https://github.com/grassmunk/Chicago95/commit/5110b0a44e760bbe3c60555ceea5653711a28ebf

Changing that line from MS Sans Serif Bold back to MS Sans Serif fixed the issue for me (on Debian testing w/ XFCE 4.14)

@EMH-Mark-I Just curious, what was the font rendering issue you were trying to fix with that commit?

EMH-Mark-I commented 4 years ago

I can't exactly remember.

I'll look at it again!

Another issue I've come across is with Qt applications not honouring the fontconfig options at all.

ghost commented 3 years ago

I'm also having this issue, along with some other issues relating to the bold font.

On a fresh install of Xubuntu 20.04 in a VM, the title font doesn't appear to be bitmap. Additionally, the bold font appears to be very squashed on the "Appearance" text. Here's a screenshot illustrating what I mean, with my current setup on Ubuntu 18.04 (with Xfce 4.12) below it to highlight the differences.

2

When I apply the changes that @farmerbb described, the title font is now bitmap, but is now also squashed, just like the Appearance text. Here's another screenshot, along with my current setup to illustrate the difference.

1

SolsticeSpectrum commented 2 years ago

Solution found in https://github.com/grassmunk/Chicago95/pull/211

EMH-Mark-I commented 2 years ago

I've included a Helvetica font in Fonts/ directory, named "cronyx-cyrillic." There are also some instructions on how to set up in the documentation.