Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bold font isn't bitmap #140

Open
Vixtron opened this issue Jul 23, 2020 · 12 comments
Open

Bold font isn't bitmap #140

Vixtron opened this issue Jul 23, 2020 · 12 comments

Comments

@Vixtron
Copy link

Vixtron commented Jul 23, 2020

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

@EMH-Mark-I
Copy link
Collaborator

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
Copy link
Author

Vixtron commented Jul 23, 2020

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

@Vixtron
Copy link
Author

Vixtron commented Jul 29, 2020

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

@EMH-Mark-I
Copy link
Collaborator

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
Copy link
Author

Vixtron commented Aug 1, 2020

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
Copy link
Collaborator

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
Copy link

july0516 commented Oct 9, 2020

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
Copy link
Contributor

farmerbb commented Oct 29, 2020

The bold font issue is caused by this commit: 5110b0a

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
Copy link
Collaborator

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
Copy link

ghost commented Jun 18, 2021

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
Copy link
Contributor

Solution found in #211

@EMH-Mark-I
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants