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

impossible to select "regular" font style for labels #17991

Closed
qgib opened this issue Jan 21, 2014 · 7 comments
Closed

impossible to select "regular" font style for labels #17991

qgib opened this issue Jan 21, 2014 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Labeling Related to QGIS map labeling

Comments

@qgib
Copy link
Contributor

qgib commented Jan 21, 2014

Author Name: Nyall Dawson (@nyalldawson)
Original Redmine Issue: 9393
Affected QGIS version: master
Redmine category:labelling
Assignee: Larry Shaffer


Here's a strange one... Using Ubuntu, it's impossible to select the "Regular" variant of the "Ubuntu" font in label properties. I can select Regular variants for other fonts (eg Arial), and other variants of the "Ubuntu" font, but everytime I select regular for ubuntu it just changes the dropdown box back to the previous setting.

@qgib
Copy link
Contributor Author

qgib commented Jan 21, 2014

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)


I confirm problem on my system too.

@qgib
Copy link
Contributor Author

qgib commented Jan 21, 2014

Author Name: Borys Jurgiel (@borysiasty)


Is it the default font in Ubuntu? If so I'd set the bug priority to High.

Btw. The same problem with DejaVu Sans on Debian. No way to select the regular variant (called Book here). Other DejaVu fonts work ok.

@qgib
Copy link
Contributor Author

qgib commented Jan 21, 2014

Author Name: Nyall Dawson (@nyalldawson)


Borys Jurgiel wrote:

Is it the default font in Ubuntu? If so I'd set the bug priority to High.

Yes - it's the default label font under Ubuntu. This isn't a regression, it happens with 2.0 as well.


  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Jan 24, 2014

Author Name: Larry Shaffer (Larry Shaffer)


Confirmed here on Mac, too. That is fixed, but I found a related issue with font 'named styles' and am working on a solution for it (for Qt < 4.8) before committing the fix. Still have to test on Windows, too.

https://github.com/dakcarto/QGIS/commits/fontutils-fix


  • assigned_to_id was configured as Larry Shaffer
  • fixed_version_id was configured as Future Release - High Priority
  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Feb 12, 2014

Author Name: Jürgen Fischer (@jef-n)


  • subject was changed from Linux - impossible to select "regular" font style for labels to impossible to select "regular" font style for labels

@qgib
Copy link
Contributor Author

qgib commented Feb 21, 2014

Author Name: Larry Shaffer (Larry Shaffer)


Fixed in changeset "90aa18a5c674cf816ddae1488d9d4c8d67b87ff8".


  • status_id was changed from In Progress to Closed

@qgib
Copy link
Contributor Author

qgib commented Feb 21, 2014

Author Name: Larry Shaffer (Larry Shaffer)


While ostensibly fixes the issue, there is still a flaw with QFontDatabase.styleString() returning generic style names.

Reopen issue if needed.

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Labeling Related to QGIS map labeling labels May 24, 2019
@qgib qgib added this to the Future Release - High Priority milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Labeling Related to QGIS map labeling
Projects
None yet
Development

No branches or pull requests

1 participant