Subject: mailing-list for TeXmacs Users
List archive
From : Ralf Treinen <address@hidden>- To: Johann Cohen-Tanugi <address@hidden>
- Cc: address@hidden
- Subject: Re: [TeXmacs]
- Date: Thu, 13 Nov 2003 19:31:36 +0100
Hi,
On Thu, Nov 13, 2003 at 03:24:55PM +0100, Johann Cohen-Tanugi wrote:
> I tried to compile the sources of 1.0.2.7 on my RH9 box and go the
> following compilation error:
[...]
> Plugins/Freetype/free_type.cpp:51: invalid conversion from `FT_Error
> (*)(FT_GlyphSlotRec_*, FT_Render_Mode_)' to `FT_Error
> (*)(FT_GlyphSlotRec_*,
> unsigned int)'
> gmake[1]: *** [Objects/free_type.o] Error 1
Joris said yesterday on the texmacs-dev list how to fix this. The
patch is
--- texmacs-1.0.2.7.orig/src/Plugins/Freetype/free_type.cpp
+++ texmacs-1.0.2.7/src/Plugins/Freetype/free_type.cpp
@@ -36,7 +36,7 @@
FT_UInt glyph_index,
FT_Int load_flags);
FT_Error (*ft_render_glyph) (FT_GlyphSlot slot,
- FT_UInt render_mode);
+ FT_Render_Mode render_mode);
bool
ft_initialize () {
--- texmacs-1.0.2.7.orig/src/Plugins/Freetype/free_type.hpp
+++ texmacs-1.0.2.7/src/Plugins/Freetype/free_type.hpp
@@ -38,7 +38,7 @@
FT_UInt glyph_index,
FT_Int load_flags);
extern FT_Error (*ft_render_glyph) (FT_GlyphSlot slot,
- FT_UInt render_mode);
+ FT_Render_Mode render_mode);
#endif
-Ralf.
--
- [no subject], Johann Cohen-Tanugi, 11/13/2003
- Re: [TeXmacs], Ralf Treinen, 11/13/2003
Archive powered by MHonArc 2.6.19.