![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
Fontconfig in KT 5.1.2 stops synthetically emboldening for fonts?
It seems that the fontconfig in KT 5.1.2 doesn't synthetically embolden for fonts that do not have bold face available any more.
So now if I only have a font of type Regular, I'll have to create a bold one manually for it. This is so boring and time-consuming, in addition to occupying more root partition. I've looked through the configuration files in /etc/fonts/conf.d but find nothing helpful. Could you guys confirm this? Thanks! |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
|
yes, i've tried on KT 5.1.0 and it would not synthetically embolden regular fonts. i've even tried the following config, but was also unsuccessful.
Code:
<!-- Synthetic emboldening for fonts that do not have bold face available --> <match target="font"> <!-- check to see if the font is just regular --> <test name="weight" compare="less_eq"> <const>medium</const> </test> <!-- check to see if the pattern requests bold --> <test target="pattern" name="weight" compare="more"> <const>medium</const> </test> <!-- set the embolden flag needed for applications using cairo, e.g. gucharmap, gedit, ... --> <edit name="embolden" mode="assign"> <bool>true</bool> </edit> <!-- set weight to bold needed for applications using Xft directly, e.g. Firefox, ... --> <edit name="weight" mode="assign"> <const>bold</const> </edit> </match> |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
Quote:
I don't know whether this is the problem of fontconfig or freetype since the update. Maybe I'll try the freetype on this forum then to check it. |
|
![]() |
![]() |
![]() |
#4 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28
Karma: 55702
Join Date: Sep 2012
Device: Kindle Touch
|
Quote:
It's good that regular fonts of the main body text in a book finally have synthetic emboldenings now. However, in Menu --> Go To, the fonts of contents doesn't have synthetic emboldenings yet, which is I mainly target for. By the way, the font here is wqy-microhei, as the preferred sans-serif font for Chinese, which is configured in the file /etc/fonts/local.conf. Do you have any suggestions? Thank you! |
|
![]() |
![]() |
![]() |
#5 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 127
Karma: 6744
Join Date: Dec 2011
Device: Kindle Touch, PW2, PW5
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch Upgrade stops at 1.9.17 | original-occam | Kobo Reader | 12 | 07-13-2012 01:24 PM |
Fontconfig error: Cannot load default config file | krischik | Calibre | 4 | 02-17-2012 09:48 AM |
Fontconfig error: Cannot load default config file | kdbdallas | Calibre | 11 | 09-06-2010 05:32 PM |
OS-X PDF to Mobi Fontconfig error | jdubya | Calibre | 5 | 07-13-2010 10:08 PM |
Not converting, Fontconfig error | edgley | Calibre | 5 | 06-27-2010 10:57 PM |