mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 948466: Rename gfxPangoFonts to gfxFontconfigFonts. r=nical
This commit is contained in:
parent
90f3a56493
commit
1aab737b21
@ -489,7 +489,7 @@ PrepareFontOptions(FcPattern* aPattern,
|
|||||||
{
|
{
|
||||||
NS_ASSERTION(aFontOptions, "null font options passed to PrepareFontOptions");
|
NS_ASSERTION(aFontOptions, "null font options passed to PrepareFontOptions");
|
||||||
|
|
||||||
// xxx - taken from the gfxPangoFonts code, needs to be reviewed
|
// xxx - taken from the gfxFontconfigFonts code, needs to be reviewed
|
||||||
|
|
||||||
FcBool printing;
|
FcBool printing;
|
||||||
if (FcPatternGetBool(aPattern, PRINTING_FC_PROPERTY, 0, &printing) !=
|
if (FcPatternGetBool(aPattern, PRINTING_FC_PROPERTY, 0, &printing) !=
|
||||||
|
@ -1844,7 +1844,7 @@ protected:
|
|||||||
// (and with variantCaps set to normal).
|
// (and with variantCaps set to normal).
|
||||||
// Default implementation relies on gfxFontEntry::CreateFontInstance;
|
// Default implementation relies on gfxFontEntry::CreateFontInstance;
|
||||||
// backends that don't implement that will need to override this and use
|
// backends that don't implement that will need to override this and use
|
||||||
// an alternative technique. (gfxPangoFonts, I'm looking at you...)
|
// an alternative technique. (gfxFontconfigFonts, I'm looking at you...)
|
||||||
virtual already_AddRefed<gfxFont> GetSmallCapsFont();
|
virtual already_AddRefed<gfxFont> GetSmallCapsFont();
|
||||||
|
|
||||||
// subclasses may provide (possibly hinted) glyph widths (in font units);
|
// subclasses may provide (possibly hinted) glyph widths (in font units);
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#ifdef MOZ_WIDGET_QT
|
#ifdef MOZ_WIDGET_QT
|
||||||
#include "gfxQtPlatform.h"
|
#include "gfxQtPlatform.h"
|
||||||
#endif
|
#endif
|
||||||
#include "gfxPangoFonts.h"
|
#include "gfxFontconfigFonts.h"
|
||||||
#include "gfxFT2FontBase.h"
|
#include "gfxFT2FontBase.h"
|
||||||
#include "gfxFT2Utils.h"
|
#include "gfxFT2Utils.h"
|
||||||
#include "harfbuzz/hb.h"
|
#include "harfbuzz/hb.h"
|
@ -3,8 +3,8 @@
|
|||||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
#ifndef GFX_PANGOFONTS_H
|
#ifndef GFX_FONTCONFIG_FONTS_H
|
||||||
#define GFX_PANGOFONTS_H
|
#define GFX_FONTCONFIG_FONTS_H
|
||||||
|
|
||||||
#include "cairo.h"
|
#include "cairo.h"
|
||||||
#include "gfxTypes.h"
|
#include "gfxTypes.h"
|
||||||
@ -102,4 +102,4 @@ private:
|
|||||||
static FT_Library GetFTLibrary();
|
static FT_Library GetFTLibrary();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* GFX_PANGOFONTS_H */
|
#endif /* GFX_FONTCONFIG_FONTS_H */
|
@ -14,7 +14,7 @@
|
|||||||
#include "gfx2DGlue.h"
|
#include "gfx2DGlue.h"
|
||||||
#include "gfxFcPlatformFontList.h"
|
#include "gfxFcPlatformFontList.h"
|
||||||
#include "gfxFontconfigUtils.h"
|
#include "gfxFontconfigUtils.h"
|
||||||
#include "gfxPangoFonts.h"
|
#include "gfxFontconfigFonts.h"
|
||||||
#include "gfxContext.h"
|
#include "gfxContext.h"
|
||||||
#include "gfxUserFontSet.h"
|
#include "gfxUserFontSet.h"
|
||||||
#include "gfxUtils.h"
|
#include "gfxUtils.h"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "gfxQPainterSurface.h"
|
#include "gfxQPainterSurface.h"
|
||||||
#include "nsUnicodeProperties.h"
|
#include "nsUnicodeProperties.h"
|
||||||
|
|
||||||
#include "gfxPangoFonts.h"
|
#include "gfxFontconfigFonts.h"
|
||||||
#include "gfxContext.h"
|
#include "gfxContext.h"
|
||||||
#include "gfxUserFontSet.h"
|
#include "gfxUserFontSet.h"
|
||||||
|
|
||||||
|
@ -102,9 +102,9 @@ elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|||||||
]
|
]
|
||||||
elif CONFIG['MOZ_WIDGET_GTK']:
|
elif CONFIG['MOZ_WIDGET_GTK']:
|
||||||
EXPORTS += [
|
EXPORTS += [
|
||||||
|
'gfxFontconfigFonts.h',
|
||||||
'gfxFT2FontBase.h',
|
'gfxFT2FontBase.h',
|
||||||
'gfxGdkNativeRenderer.h',
|
'gfxGdkNativeRenderer.h',
|
||||||
'gfxPangoFonts.h',
|
|
||||||
'gfxPDFSurface.h',
|
'gfxPDFSurface.h',
|
||||||
'gfxPlatformGtk.h',
|
'gfxPlatformGtk.h',
|
||||||
'gfxPSSurface.h',
|
'gfxPSSurface.h',
|
||||||
@ -112,11 +112,11 @@ elif CONFIG['MOZ_WIDGET_GTK']:
|
|||||||
|
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
'gfxFcPlatformFontList.cpp',
|
'gfxFcPlatformFontList.cpp',
|
||||||
|
'gfxFontconfigFonts.cpp',
|
||||||
'gfxFontconfigUtils.cpp',
|
'gfxFontconfigUtils.cpp',
|
||||||
'gfxFT2FontBase.cpp',
|
'gfxFT2FontBase.cpp',
|
||||||
'gfxFT2Utils.cpp',
|
'gfxFT2Utils.cpp',
|
||||||
'gfxGdkNativeRenderer.cpp',
|
'gfxGdkNativeRenderer.cpp',
|
||||||
'gfxPangoFonts.cpp',
|
|
||||||
'gfxPDFSurface.cpp',
|
'gfxPDFSurface.cpp',
|
||||||
'gfxPlatformGtk.cpp',
|
'gfxPlatformGtk.cpp',
|
||||||
'gfxPSSurface.cpp',
|
'gfxPSSurface.cpp',
|
||||||
@ -134,18 +134,18 @@ elif CONFIG['MOZ_WIDGET_GTK']:
|
|||||||
|
|
||||||
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'qt':
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'qt':
|
||||||
EXPORTS += [
|
EXPORTS += [
|
||||||
|
'gfxFontconfigFonts.h',
|
||||||
'gfxFT2FontBase.h',
|
'gfxFT2FontBase.h',
|
||||||
'gfxPangoFonts.h',
|
|
||||||
'gfxPDFSurface.h',
|
'gfxPDFSurface.h',
|
||||||
'gfxQPainterSurface.h',
|
'gfxQPainterSurface.h',
|
||||||
'gfxQtNativeRenderer.h',
|
'gfxQtNativeRenderer.h',
|
||||||
'gfxQtPlatform.h',
|
'gfxQtPlatform.h',
|
||||||
]
|
]
|
||||||
SOURCES += [
|
SOURCES += [
|
||||||
|
'gfxFontconfigFonts.cpp',
|
||||||
'gfxFontconfigUtils.cpp',
|
'gfxFontconfigUtils.cpp',
|
||||||
'gfxFT2FontBase.cpp',
|
'gfxFT2FontBase.cpp',
|
||||||
'gfxFT2Utils.cpp',
|
'gfxFT2Utils.cpp',
|
||||||
'gfxPangoFonts.cpp',
|
|
||||||
'gfxPDFSurface.cpp',
|
'gfxPDFSurface.cpp',
|
||||||
'gfxQPainterSurface.cpp',
|
'gfxQPainterSurface.cpp',
|
||||||
'gfxQtPlatform.cpp',
|
'gfxQtPlatform.cpp',
|
||||||
|
@ -50,7 +50,7 @@ NS_GetComplexLineBreaks(const char16_t* aText, uint32_t aLength,
|
|||||||
// pango_break (pango 1.16.2) only analyses text before the
|
// pango_break (pango 1.16.2) only analyses text before the
|
||||||
// first NUL (but sets one extra attr). Workaround loop to call
|
// first NUL (but sets one extra attr). Workaround loop to call
|
||||||
// pango_break again to analyse after the NUL is done somewhere else
|
// pango_break again to analyse after the NUL is done somewhere else
|
||||||
// (gfx/thebes/gfxPangoFonts.cpp: SetupClusterBoundaries()).
|
// (gfx/thebes/gfxFontconfigFonts.cpp: SetupClusterBoundaries()).
|
||||||
// So, we do the same here for pango_get_log_attrs.
|
// So, we do the same here for pango_get_log_attrs.
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user