To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68434
                 Issue #|68434
                 Summary|Mac OS X and system freetype and FT_ENCODING macros
               Component|porting
                 Version|current
                Platform|All
                     URL|
              OS/Version|Mac OS X
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P1
            Subcomponent|MacOSX
             Assigned to|hdu
             Reported by|pjanik





------- Additional comments from [EMAIL PROTECTED] Thu Aug 10 08:21:13 -0700 
2006 -------
Hi,

m181 brought new freetype lib and this set of patches:

-                        eEncoding = ft_encoding_big5;
+                        eEncoding = FT_ENCODING_BIG5;

System freetype on Mac OS X does not define uppercase macros like this but:

/usr/X11R6/include/freetype2/freetype/freetype.h:#define  ft_encoding_big5     
      FT_ENCODING_MS_BIG5

(notice MS_...).

Thus compile of m181 on Mac OS X with X11 on m181:

/Volumes/Build/oo/BuildDir/ooo_SRC680_m181_src/vcl/source/glyphs/gcach_ftyp.cxx:
In constructor 'FreetypeServerFont::FreetypeServerFont(const
ImplFontSelectData&, FtFontInfo*)':
/Volumes/Build/oo/BuildDir/ooo_SRC680_m181_src/vcl/source/glyphs/gcach_ftyp.cxx:740:
error: 'FT_ENCODING_SJIS' was not declared in this scope
/Volumes/Build/oo/BuildDir/ooo_SRC680_m181_src/vcl/source/glyphs/gcach_ftyp.cxx:744:
error: 'FT_ENCODING_GB2312' was not declared in this scope
/Volumes/Build/oo/BuildDir/ooo_SRC680_m181_src/vcl/source/glyphs/gcach_ftyp.cxx:748:
error: 'FT_ENCODING_BIG5' was not declared in this scope
/Volumes/Build/oo/BuildDir/ooo_SRC680_m181_src/vcl/source/glyphs/gcach_ftyp.cxx:752:
error: 'FT_ENCODING_WANSUNG' was not declared in this scope
/Volumes/Build/oo/BuildDir/ooo_SRC680_m181_src/vcl/source/glyphs/gcach_ftyp.cxx:756:
error: 'FT_ENCODING_JOHAB' was not declared in this scope
/Volumes/Build/oo/BuildDir/ooo_SRC680_m181_src/vcl/source/glyphs/gcach_ftyp.cxx:
In member function 'virtual void FreetypeServerFont::InitGlyphData(int,
GlyphData&) const':
/Volumes/Build/oo/BuildDir/ooo_SRC680_m181_src/vcl/source/glyphs/gcach_ftyp.cxx:1259:
error: 'FT_GLYPH_BBOX_PIXELS' was not declared in this scope
dmake:  Error code 1, while making '../../unxmacxp.pro/slo/gcach_ftyp.obj'
'---* tg_merge.mk *---'

ERROR: Error 0 occurred while making
/Volumes/Build/oo/BuildDir/ooo_SRC680_m181_src/vcl/source/glyphs

This means, that right now, we have to use this patch to get it compiled:

ftp://ftp.linux.cz/pub/localization/OpenOffice.org/devel/build/Patches/SRC680/aquavcl01-freetype.diff

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to