diff options
author | Ramiro Estrugo <ramiro@src.gnome.org> | 2001-03-01 00:33:57 +0000 |
---|---|---|
committer | Ramiro Estrugo <ramiro@src.gnome.org> | 2001-03-01 00:33:57 +0000 |
commit | 7b19c21ba45fe649fb6ceb49d952c2b3fe5bd71e (patch) | |
tree | f8506c83c46e47d89f9c073bacffa4ecee82999c /libnautilus-private | |
parent | b6218ac4f140009a955caa83a3395e06fedb279c (diff) | |
download | nautilus-7b19c21ba45fe649fb6ceb49d952c2b3fe5bd71e.tar.gz |
reviewed by: Darin Adler <darin@eazel.com>
Fix bug 6368 - Multibyte font handling.
* librsvg/rsvg-ft.c: (rsvg_ft_get_glyph),
(rsvg_ft_measure_or_render_string):
Tell freetype to never load bitmaps when loading glyphs. We only
use the outlines of scalable fonts. This means our code will work
even for glyphs that have embedded bitmaps.
Add support for multi byte characters. We do this by allocate a
wide character array and converting the source string to wide
chars. If no wide characters are found in the source string, then
we fill in the wide char array with the regular single byte chars.
This changes are based on a patch contributed by Yukihiro Nakai
<nakai@gnome.gr.jp> - thanks much.
Unrelated change.
* libnautilus-extensions/nautilus-labeled-image.c:
(nautilus_labeled_image_initialize):
Remove a extraneous '+' that sneaked in here.
Diffstat (limited to 'libnautilus-private')
-rw-r--r-- | libnautilus-private/nautilus-labeled-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-labeled-image.c b/libnautilus-private/nautilus-labeled-image.c index 15ff7781e..f7cfeb44c 100644 --- a/libnautilus-private/nautilus-labeled-image.c +++ b/libnautilus-private/nautilus-labeled-image.c @@ -207,7 +207,7 @@ nautilus_labeled_image_initialize (NautilusLabeledImage *labeled_image) labeled_image->details->y_padding = DEFAULT_Y_PADDING; labeled_image->details->x_alignment = DEFAULT_X_ALIGNMENT; labeled_image->details->y_alignment = DEFAULT_Y_ALIGNMENT; -+ labeled_image->details->fixed_image_height = 0; + labeled_image->details->fixed_image_height = 0; nautilus_labeled_image_set_fill (labeled_image, FALSE); } |