Configuration changes to request synthetic emboldening of fonts. The actual
emboldening code will live in Xft. reviewed by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
9af19286b0
commit
46a10637cd
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2004-12-10 Jakub Pavelek <jakub.pavelek@nokia.com>
|
||||||
|
|
||||||
|
reviewed by: Keith Packard <keithp@keithp.com>
|
||||||
|
|
||||||
|
* fontconfig/fontconfig.h:
|
||||||
|
* fonts.conf.in:
|
||||||
|
|
||||||
|
Configuration changes to request synthetic emboldening of
|
||||||
|
fonts. The actual emboldening code will live in Xft.
|
||||||
|
|
||||||
2004-12-09 John Thacker <thacker@math.cornell.edu>
|
2004-12-09 John Thacker <thacker@math.cornell.edu>
|
||||||
|
|
||||||
reviewed by: Keith Packard <keithp@keithp.com>
|
reviewed by: Keith Packard <keithp@keithp.com>
|
||||||
|
|
|
@ -95,6 +95,7 @@ typedef int FcBool;
|
||||||
#define FC_FULLNAMELANG "fullnamelang" /* String RFC 3066 langs */
|
#define FC_FULLNAMELANG "fullnamelang" /* String RFC 3066 langs */
|
||||||
#define FC_CAPABILITY "capability" /* String */
|
#define FC_CAPABILITY "capability" /* String */
|
||||||
#define FC_FONTFORMAT "fontformat" /* String */
|
#define FC_FONTFORMAT "fontformat" /* String */
|
||||||
|
#define FC_EMBOLDEN "embolden" /* Bool - true if emboldening needed*/
|
||||||
|
|
||||||
#define FC_DIR_CACHE_FILE "fonts.cache-"FC_CACHE_VERSION
|
#define FC_DIR_CACHE_FILE "fonts.cache-"FC_CACHE_VERSION
|
||||||
#define FC_USER_CACHE_FILE ".fonts.cache-"FC_CACHE_VERSION
|
#define FC_USER_CACHE_FILE ".fonts.cache-"FC_CACHE_VERSION
|
||||||
|
|
|
@ -311,6 +311,26 @@
|
||||||
</edit>
|
</edit>
|
||||||
</match>
|
</match>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
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">
|
||||||
|
<int>100</int>
|
||||||
|
</test>
|
||||||
|
<!-- check to see if the pattern requests bold -->
|
||||||
|
<test target="pattern" name="weight" compare="more_eq">
|
||||||
|
<int>200</int>
|
||||||
|
</test>
|
||||||
|
<!-- set the embolden flag -->
|
||||||
|
<edit name="embolden" mode="assign">
|
||||||
|
<bool>true</bool>
|
||||||
|
</edit>
|
||||||
|
</match>
|
||||||
|
|
||||||
|
|
||||||
<config>
|
<config>
|
||||||
<!--
|
<!--
|
||||||
These are the default Unicode chars that are expected to be blank
|
These are the default Unicode chars that are expected to be blank
|
||||||
|
|
Loading…
Reference in New Issue