ue Jul 23 22:35:10 2002 Owen Taylor <otaylor@redhat.com>
* acconfig.h configure.in: Check for Xft2. * capplets/font/main.c capplets/font/Makefile.am capplets/font/font-properties.glade: If XFt2 is present, allow the user to control various font rendering attributes. * gnome-settings-daemon/gnome-settings-xsettings.c: Mirror the Xft rendering attributes from the font capplet to XSETTINGS and Xrdb. * schemas/Makefile.am schemas/desktop_gnome_font_rendering.schemas: Add schemas for the new GConf settings.
This commit is contained in:
parent
a8339d6fc1
commit
05fb268094
9 changed files with 2224 additions and 11 deletions
|
@ -1,7 +1,8 @@
|
|||
schemadir = @GCONF_SCHEMA_FILE_DIR@
|
||||
schema_DATA = \
|
||||
apps_gnome_settings_daemon_screensaver.schemas \
|
||||
apps_gnome_settings_daemon_default_editor.schemas
|
||||
apps_gnome_settings_daemon_default_editor.schemas \
|
||||
desktop_gnome_font_rendering.schemas
|
||||
|
||||
schema_source_data = $(foreach file, $(schema_DATA), $(srcdir)/$(file))
|
||||
|
||||
|
|
69
schemas/desktop_gnome_font_rendering.schemas
Normal file
69
schemas/desktop_gnome_font_rendering.schemas
Normal file
|
@ -0,0 +1,69 @@
|
|||
<?xml version="1.0"?>
|
||||
<gconfschemafile>
|
||||
<schemalist>
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/font_rendering/dpi</key>
|
||||
<applyto>/desktop/gnome/font_rendering/dpi</applyto>
|
||||
<owner>gnome</owner>
|
||||
<type>float</type>
|
||||
<default>96</default>
|
||||
<locale name="C">
|
||||
<short>DPI</short>
|
||||
<long>
|
||||
Resolution used for converting font sizes to pixel sizes,
|
||||
in dots per inch
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/font_rendering/antialiasing</key>
|
||||
<applyto>/desktop/gnome/font_rendering/antialiasing</applyto>
|
||||
<owner>gnome</owner>
|
||||
<type>string</type>
|
||||
<default>grayscale</default>
|
||||
<locale name="C">
|
||||
<short>Antialising</short>
|
||||
<long>
|
||||
The type of antialiasing to use when rendering fonts.
|
||||
Possible values are: "none" - no antialiasing.
|
||||
"grayscale" - standard grayscale antialising.
|
||||
"rgba" - subpixel antialising. (LCD screens only).
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/font_rendering/hinting</key>
|
||||
<applyto>/desktop/gnome/font_rendering/hinting</applyto>
|
||||
<owner>gnome</owner>
|
||||
<type>string</type>
|
||||
<default>medium</default>
|
||||
<locale name="C">
|
||||
<short>Hinting</short>
|
||||
<long>
|
||||
The type of hinting to use when rendering fonts.
|
||||
Possible values are: "none" - no hinting,
|
||||
"slight", "medium", and
|
||||
"full" - as much hinting as possible; may cause
|
||||
distortion of letter forms.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
<schema>
|
||||
<key>/schemas/desktop/gnome/font_rendering/rgba_order</key>
|
||||
<applyto>/desktop/gnome/font_rendering/rgba_order</applyto>
|
||||
<owner>gnome</owner>
|
||||
<type>string</type>
|
||||
<default>rgb</default>
|
||||
<locale name="C">
|
||||
<short>RGBA Order</short>
|
||||
<long>
|
||||
The order of elements subpixel elements on an LCD
|
||||
screen; only used when antialising is set to "rgba".
|
||||
Possible values are: "rgb" - red on left, most common.
|
||||
"bgr" - blue on left. "vrgb" - red on top. "vbgr" -
|
||||
red on bottom.
|
||||
</long>
|
||||
</locale>
|
||||
</schema>
|
||||
</schemalist>
|
||||
</gconfschemafile>
|
Loading…
Add table
Add a link
Reference in a new issue