diff options
author | Owen Taylor <otaylor@src.gnome.org> | 2002-07-24 02:39:03 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-07-24 02:39:03 +0000 |
commit | 05fb268094d119c236f4a01689fc5aa722cf4bac (patch) | |
tree | 5a7af868b7b0b540a44f90674e4281695b5b26ec /schemas | |
parent | a8339d6fc10ebc65518b7641cb6327f4cc77b796 (diff) | |
download | gnome-control-center-05fb268094d119c236f4a01689fc5aa722cf4bac.tar.gz |
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.
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/Makefile.am | 3 | ||||
-rw-r--r-- | schemas/desktop_gnome_font_rendering.schemas | 69 |
2 files changed, 71 insertions, 1 deletions
diff --git a/schemas/Makefile.am b/schemas/Makefile.am index 4cf8b8b0d..fedae2498 100644 --- a/schemas/Makefile.am +++ b/schemas/Makefile.am @@ -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)) diff --git a/schemas/desktop_gnome_font_rendering.schemas b/schemas/desktop_gnome_font_rendering.schemas new file mode 100644 index 000000000..dffd9bc30 --- /dev/null +++ b/schemas/desktop_gnome_font_rendering.schemas @@ -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> |