riuson / lcd-image-converter

Tool to create bitmaps and fonts for embedded applications, v.2
https://lcd-image-converter.riuson.com/
GNU General Public License v3.0
337 stars 80 forks source link

Select Non-Standard Font Style #21

Closed riuson closed 10 years ago

riuson commented 10 years ago

From joh06...@gmail.com on January 11, 2014 04:18:17

I have a font style installed on my computer that doesn't fall under the Regular/Italic/Bold/Bold Italic list (it's "Light"). I couldn't find a way to select this style of the font from the drop-down menu (it only had the first 4 normal ones). It'd be nice if there was a way to select other styles for a font.

Original issue: http://code.google.com/p/lcd-image-converter/issues/detail?id=21

riuson commented 10 years ago

From m...@berushka.net on January 17, 2014 00:36:13

I had similar problem with font Ubuntu Mono which has four styles but I could choose only Bold and Bold Italic. When I deleted Bold styles from system I could choose Regular styles. So you can try to delete Regular font from system or install only Light styles of font. I tried your issue (font Ubuntu which is also Condensed and Light) and there are three different fonts called "Ubuntu", "Ubuntu Condensed" and "Ubuntu Light".

riuson commented 10 years ago

From riu...@gmail.com on January 17, 2014 00:52:14

You have not shown these options (Bold Italic, Italic, Bold, Regular) for the font Ubuntu Mono?

Owner: riu...@gmail.com

Attachment: Font setup_001.png

riuson commented 10 years ago

From m...@berushka.net on January 17, 2014 03:46:51

No. Although I have four styles of Ubuntu Mono installed (and I can see them in Fonts), I can choose only Bold and Bold Italic. When I delete both Bold from Fonts I can choose all four types (included the deleted Bold). I tried the same at home and without problem, so I did it at home and bring XML files to work. So it is not necessary to solve it. Thanks.

Attachment: ubuntu-mono.png fonts-ubuntu-mono.png

riuson commented 10 years ago

From riu...@gmail.com on February 25, 2014 06:17:03

Can't to reproduce the error. May be issue in operating system environment.

Status: Invalid

riuson commented 10 years ago

From joh06...@gmail.com on February 25, 2014 06:20:25

I was able to get access to the Light font style by using a different computer that only had that style installed (and didn't have Regular, Bold, Italic, or Bold Italic). Not sure why it didn't work, but oh well, it worked out fine in the end.

If I manage to find any rhyme or reason to this issue, I'll be sure to update this!

riuson commented 10 years ago

From riu...@gmail.com on February 25, 2014 06:26:49

If you find the source of this behavior, let me know. Thank you.

List of font styles obtained by calling QFontDatabase::styles() http://qt-project.org/doc/qt-5.0/qtgui/qfontdatabase.html#styles

Labels: -Type-Enhancement Type-Other

riuson commented 10 years ago

From riu...@gmail.com on June 07, 2014 23:40:35

https://code.google.com/p/lcd-image-converter/issues/detail?id=27

Status: Duplicate