Closed
Bug 600102
Opened 14 years ago
Closed 14 years ago
Add ability to build with --disable-pango
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | 2.0b2+ | --- |
People
(Reporter: pavlov, Assigned: pavlov)
References
Details
Attachments
(1 file)
2.72 KB,
patch
|
karlt
:
review+
|
Details | Diff | Splinter Review |
Right now things are broken due to code bitrotting
Assignee | ||
Updated•14 years ago
|
Attachment #478942 -
Attachment is patch: true
Attachment #478942 -
Attachment mime type: application/octet-stream → text/plain
Attachment #478942 -
Flags: review?(karlt)
Comment 1•14 years ago
|
||
Comment on attachment 478942 [details] [diff] [review] fix >diff --git a/gfx/thebes/gfxPlatformGtk.cpp b/gfx/thebes/gfxPlatformGtk.cpp >--- a/gfx/thebes/gfxPlatformGtk.cpp >+++ b/gfx/thebes/gfxPlatformGtk.cpp >@@ -95,7 +95,7 @@ > > #ifndef MOZ_PANGO > typedef nsDataHashtable<nsStringHashKey, nsRefPtr<FontFamily> > FontTable; >-typedef nsDataHashtable<nsCStringHashKey, nsTArray<nsRefPtr<FontEntry> > > PrefFontTable; >+typedef nsDataHashtable<nsCStringHashKey, nsTArray<nsRefPtr<gfxFontEntry> > > PrefFontTable; > static FontTable *gPlatformFonts = NULL; > static FontTable *gPlatformFontAliases = NULL; > static PrefFontTable *gPrefFonts = NULL; >@@ -306,7 +306,7 @@ > #else > > nsresult >-gfxPlatformGtk::GetFontList(const nsACString& aLangGroup, >+gfxPlatformGtk::GetFontList(nsIAtom *aLangGroup, > const nsACString& aGenericFamily, > nsTArray<nsString>& aListOfFonts) > { >@@ -477,10 +477,10 @@ > > gfxFontGroup * > gfxPlatformGtk::CreateFontGroup(const nsAString &aFamilies, >- const gfxFontStyle *aStyle, >- gfxUserFontSet * /*aUserFontSet*/) >+ const gfxFontStyle *aStyle, >+ gfxUserFontSet *aUserFontSet) > { >- return new gfxFT2FontGroup(aFamilies, aStyle); >+ return new gfxFT2FontGroup(aFamilies, aStyle, aUserFontSet); > } > > #endif >@@ -698,13 +698,13 @@ > } > > PRBool >-gfxPlatformGtk::GetPrefFontEntries(const nsCString& aKey, nsTArray<nsRefPtr<FontEntry> > *aFontEntryList) >+gfxPlatformGtk::GetPrefFontEntries(const nsCString& aKey, nsTArray<nsRefPtr<gfxFontEntry> > *aFontEntryList) > { > return gPrefFonts->Get(aKey, aFontEntryList); > } > > void >-gfxPlatformGtk::SetPrefFontEntries(const nsCString& aKey, nsTArray<nsRefPtr<FontEntry> >& aFontEntryList) >+gfxPlatformGtk::SetPrefFontEntries(const nsCString& aKey, nsTArray<nsRefPtr<gfxFontEntry> >& aFontEntryList) > { > gPrefFonts->Put(aKey, aFontEntryList); > } >diff --git a/gfx/thebes/gfxPlatformGtk.h b/gfx/thebes/gfxPlatformGtk.h >--- a/gfx/thebes/gfxPlatformGtk.h >+++ b/gfx/thebes/gfxPlatformGtk.h >@@ -110,8 +110,8 @@ > FontFamily *FindFontFamily(const nsAString& aName); > FontEntry *FindFontEntry(const nsAString& aFamilyName, const gfxFontStyle& aFontStyle); > already_AddRefed<gfxFont> FindFontForChar(PRUint32 aCh, gfxFont *aFont); >- PRBool GetPrefFontEntries(const nsCString& aLangGroup, nsTArray<nsRefPtr<FontEntry> > *aFontEntryList); >- void SetPrefFontEntries(const nsCString& aLangGroup, nsTArray<nsRefPtr<FontEntry> >& aFontEntryList); >+ PRBool GetPrefFontEntries(const nsCString& aLangGroup, nsTArray<nsRefPtr<gfxFontEntry> > *aFontEntryList); >+ void SetPrefFontEntries(const nsCString& aLangGroup, nsTArray<nsRefPtr<gfxFontEntry> >& aFontEntryList); > #endif > > #ifndef MOZ_PANGO
Attachment #478942 -
Flags: review?(karlt) → review+
Updated•14 years ago
|
tracking-fennec: --- → 2.0b2+
Comment 2•14 years ago
|
||
karl, can we push this?
Comment 3•14 years ago
|
||
Yes, fine by me. (Sorry about the edit-as-comment spam.)
Comment 4•14 years ago
|
||
Assigning ownership to stuart just so it's easier to search for unowned blockers.
Assignee: nobody → pavlov
Comment 5•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/f44e3c04264c
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•