Closed
Bug 256884
Opened 20 years ago
Closed 19 years ago
SVG with libart renderer will not build with freetype 2.1.9
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: allan, Unassigned)
Details
Attachments
(1 file)
1.31 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804 Build Identifier: When I build mozilla with svg-renderer-libart, using FreeType 2.1.9 I get the following error: --- CUT --- c++ -o nsSVGLibartGlyphMetricsFT.o -c -DOSTYPE=\"Linux2.6.5-7\" -DOSARCH=\"Linux\" -DMOZ_ENABLE_FREETYPE2 -I/usr/include/freetype2 -I../../../../../gfx -I../../../../../gfx/src/freetype -I../../../../../dist/include/xpcom -I../../../../../dist/include/widget -I../../../../../dist/include/pref -I../../../../../dist/include/gfx -I../../../../../dist/include/imglib2 -I../../../../../dist/include/string -I../../../../../dist/include/dom -I../../../../../dist/include/content -I../../../../../dist/include/necko -I../../../../../dist/include/libart_lgpl -I../../../../../dist/include/util -I../../../../../dist/include/uconv -I../../../../../dist/include/windowwatcher -I../../../../../dist/include/layout -I../../../../../dist/include -I/home/beaufour/Documents/Mozilla/mozilla/dist/include/nspr -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pedantic -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../../../mozilla-config.h -Wp,-MD,.deps/nsSVGLibartGlyphMetricsFT.pp nsSVGLibartGlyphMetricsFT.cpp In file included from nsSVGLibartGlyphMetricsFT.cpp:52: ../../../../../dist/include/layout/nsISVGRendererGlyphMetrics.h:64: warning: ` virtual nsresult nsISVGRendererGlyphMetrics::GetBoundingBox(nsIDOMSVGRect**) ' was hidden nsISVGLibartGlyphMetricsFT.h:64: warning: by `virtual const FT_BBox* nsISVGLibartGlyphMetricsFT::GetBoundingBox()' nsSVGLibartGlyphMetricsFT.cpp: In constructor ` nsSVGLibartGlyphMetricsFT::nsSVGLibartGlyphMetricsFT(nsISVGGlyphMetricsSource*) ': nsSVGLibartGlyphMetricsFT.cpp:112: warning: `nsSVGLibartGlyphMetricsFT::mSource ' will be initialized after nsSVGLibartGlyphMetricsFT.cpp:99: warning: ` FT_FaceRec_*nsSVGLibartGlyphMetricsFT::mFace' nsSVGLibartGlyphMetricsFT.cpp:129: warning: when initialized here nsSVGLibartGlyphMetricsFT.cpp: In member function `void nsSVGLibartGlyphMetricsFT::InitializeFace()': nsSVGLibartGlyphMetricsFT.cpp:443: error: `FTC_Image_Desc' undeclared (first use this function) nsSVGLibartGlyphMetricsFT.cpp:443: error: (Each undeclared identifier is reported only once for each function it appears in.) nsSVGLibartGlyphMetricsFT.cpp:443: error: syntax error before `;' token nsSVGLibartGlyphMetricsFT.cpp:444: error: `imageDesc' undeclared (first use this function) nsSVGLibartGlyphMetricsFT.cpp:449: error: `ftc_image_grays' undeclared (first use this function) nsSVGLibartGlyphMetricsFT.cpp:455: error: `ManagerLookupSize' undeclared (first use this function) gmake[1]: *** [nsSVGLibartGlyphMetricsFT.o] Error 1 gmake[1]: Leaving directory `/home/beaufour/Documents/Mozilla/mozilla/layout/svg/renderer/src/libart' make: *** [all] Error 2 --- CUT --- It is the same error as http://bugzilla.mozilla.org/show_bug.cgi?id=234035, just in libart this time. Reproducible: Always Steps to Reproduce: I am building the FORMS_20040722_BRANCH branch.
Reporter | ||
Comment 1•20 years ago
|
||
Dup of bug 234035 Bottom line - mozilla only works with 2.1.7 of freetype who changed their API without changing their Major number - naughty.
Reporter | ||
Comment 3•20 years ago
|
||
Yes, it is pretty annoying. BTW the patch does not work. Yes, it compiles, but SVG can still not use FreeType. I might have time to look at it later today.
Reporter | ||
Comment 4•20 years ago
|
||
It is do_GetService(NS_FREETYPE2_CONTRACTID) in nsSVGLibartFreetype::Init() that fails. Don't see why...
Comment 5•20 years ago
|
||
I can confirm that Mozilla won't build with Freetype 2.1.9 on Mac OSX/X11 (SVG disabled even). Is there any progress on this bug?
Assignee: general → general
Component: GFX → SVG
Reporter | ||
Comment 6•20 years ago
|
||
(In reply to comment #5) > I can confirm that Mozilla won't build with Freetype 2.1.9 on Mac OSX/X11 (SVG > disabled even). Is there any progress on this bug? Your problem could be bug 234035?
Updated•19 years ago
|
Flags: blocking1.8b?
Updated•19 years ago
|
Flags: blocking1.8b? → blocking1.8b-
Comment 7•19 years ago
|
||
is the libart_renderer still of interest with Cairo?
Comment 8•19 years ago
|
||
Marking wontfix. We have no plans to continue development of the libart backend.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•