Bug report #9393
impossible to select "regular" font style for labels
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Larry Shaffer | ||
Category: | Labelling | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 17991 |
Description
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.
Associated revisions
Fix #9393, impossible to select 'regular' font style for labels
- While ostensibly fixes the issue, there is still a flaw with QFontDatabase.styleString() returning generic style names
History
#1 Updated by Mathieu Pellerin - nIRV almost 11 years ago
I confirm problem on my system too.
#2 Updated by Borys Jurgiel almost 11 years ago
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.
#3 Updated by Nyall Dawson almost 11 years ago
- Priority changed from Normal to High
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.
#4 Updated by Larry Shaffer almost 11 years ago
- Assignee set to Larry Shaffer
- Target version set to Future Release - High Priority
- Status changed from Open to In Progress
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.
#5 Updated by Jürgen Fischer almost 11 years ago
- Subject changed from Linux - impossible to select "regular" font style for labels to impossible to select "regular" font style for labels
#6 Updated by Larry Shaffer over 10 years ago
- Status changed from In Progress to Closed
Fixed in changeset 90aa18a5c674cf816ddae1488d9d4c8d67b87ff8.
#7 Updated by Larry Shaffer over 10 years ago
While ostensibly fixes the issue, there is still a flaw with QFontDatabase.styleString() returning generic style names.
Reopen issue if needed.