mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
cleanup, removed unused includes.
2008-10-27 Sven Neumann <sven@gimp.org> * app/text/gimptext-bitmap.c: cleanup, removed unused includes. svn path=/trunk/; revision=27433
This commit is contained in:
parent
033fcf1628
commit
edec220dac
|
@ -1,3 +1,7 @@
|
|||
2008-10-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/text/gimptext-bitmap.c: cleanup, removed unused includes.
|
||||
|
||||
2008-10-27 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpbase/gimpbaseenums.[ch]: added new enum GimpTextHintStyle.
|
||||
|
|
|
@ -23,8 +23,6 @@
|
|||
|
||||
#include <glib-object.h>
|
||||
|
||||
#define PANGO_ENABLE_ENGINE
|
||||
#include <cairo.h>
|
||||
#include <pango/pangocairo.h>
|
||||
|
||||
#include "text-types.h"
|
||||
|
@ -32,12 +30,6 @@
|
|||
#include "gimptext-bitmap.h"
|
||||
|
||||
|
||||
/* for compatibility with older freetype versions */
|
||||
#ifndef FT_LOAD_TARGET_MONO
|
||||
#define FT_LOAD_TARGET_MONO FT_LOAD_MONOCHROME
|
||||
#endif
|
||||
|
||||
|
||||
void
|
||||
gimp_text_render_bitmap (PangoFont *font,
|
||||
PangoGlyph glyph,
|
||||
|
@ -53,11 +45,8 @@ gimp_text_render_bitmap (PangoFont *font,
|
|||
|
||||
cfont = pango_cairo_font_get_scaled_font ((PangoCairoFont *) font);
|
||||
|
||||
x = PANGO_PIXELS (x);
|
||||
y = PANGO_PIXELS (y);
|
||||
|
||||
cglyph.x = x;
|
||||
cglyph.y = y;
|
||||
cglyph.x = PANGO_PIXELS (x);
|
||||
cglyph.y = PANGO_PIXELS (y);
|
||||
cglyph.index = glyph;
|
||||
|
||||
cairo_set_scaled_font (cr, cfont);
|
||||
|
|
Loading…
Reference in a new issue