ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.124 by root, Tue Jul 4 23:23:31 2006 UTC vs.
Revision 1.128 by root, Wed Jul 5 03:01:01 2006 UTC

51#define MAP_EXTEND_X 32 51#define MAP_EXTEND_X 32
52#define MAP_EXTEND_Y 512 52#define MAP_EXTEND_Y 512
53 53
54#define MIN_FONT_HEIGHT 10 54#define MIN_FONT_HEIGHT 10
55 55
56#if 1 56#if 0
57# define PARACHUTE SDL_INIT_NOPARACHUTE 57# define PARACHUTE SDL_INIT_NOPARACHUTE
58#else 58#else
59# define PARACHUTE 0 59# define PARACHUTE 0
60#endif 60#endif
61 61
121{ 121{
122 FcPatternAddBool (pattern, FC_HINTING, 1); 122 FcPatternAddBool (pattern, FC_HINTING, 1);
123#ifdef FC_HINT_STYLE 123#ifdef FC_HINT_STYLE
124 FcPatternAddBool (pattern, FC_HINT_STYLE, FC_HINT_FULL); 124 FcPatternAddBool (pattern, FC_HINT_STYLE, FC_HINT_FULL);
125#endif 125#endif
126#ifdef _WIN32
127 FcPatternAddBool (pattern, FC_AUTOHINT, 1);
128#else
129 FcPatternAddBool (pattern, FC_AUTOHINT, 0); 126 FcPatternAddBool (pattern, FC_AUTOHINT, 0);
130#endif
131} 127}
132 128
133static void 129static void
134layout_update_font (CFClient__Layout self) 130layout_update_font (CFClient__Layout self)
135{ 131{
770MODULE = CFClient PACKAGE = CFClient::Layout 766MODULE = CFClient PACKAGE = CFClient::Layout
771 767
772void 768void
773clear_font_cache () 769clear_font_cache ()
774 CODE: 770 CODE:
775 pango_fc_font_map_cache_clear ((PangoFcFontMap *)opengl_fontmap);
776 tc_clear (); 771 tc_clear ();
777 772
778CFClient::Layout 773CFClient::Layout
779new (SV *class, int type = 0) 774new (SV *class)
780 CODE: 775 CODE:
781 New (0, RETVAL, 1, struct cf_layout); 776 New (0, RETVAL, 1, struct cf_layout);
782 777
783 RETVAL->pl = pango_layout_new (opengl_context); 778 RETVAL->pl = pango_layout_new (opengl_context);
784 RETVAL->r = 1.; 779 RETVAL->r = 1.;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines