[Webkit-unassigned] [Bug 177479] New: [WinCairo] Share default value of font family preferences among non-cocoa builds
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 25 18:59:43 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=177479
Bug ID: 177479
Summary: [WinCairo] Share default value of font family
preferences among non-cocoa builds
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Yoshiaki.Jitsukawa at sony.com
Currently the default font family preferences are defined for
PLATFORM(COCOA) and (PLATFORM(GTK) || PLATFORM(WPE))
and there's no definitions for the other ports.
It seems like we can use (PLATFORM(GTK) || PLATFORM(WPE))'s one as a default case.
#if PLATFORM(COCOA)
#define FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
macro(StandardFontFamily, standardFontFamily, String, String, "Times", "", "") \
macro(CursiveFontFamily, cursiveFontFamily, String, String, DEFAULT_CURSIVE_FONT_FAMILY, "", "") \
macro(FantasyFontFamily, fantasyFontFamily, String, String, "Papyrus", "", "") \
macro(FixedFontFamily, fixedFontFamily, String, String, "Courier", "", "") \
macro(SansSerifFontFamily, sansSerifFontFamily, String, String, "Helvetica", "", "") \
macro(SerifFontFamily, serifFontFamily, String, String, "Times", "", "") \
macro(PictographFontFamily, pictographFontFamily, String, String, "Apple Color Emoji", "", "") \
\
#elif PLATFORM(GTK) || PLATFORM(WPE)
#define FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE(macro) \
macro(StandardFontFamily, standardFontFamily, String, String, "Times", "", "") \
macro(CursiveFontFamily, cursiveFontFamily, String, String, "Comic Sans MS", "", "") \
macro(FantasyFontFamily, fantasyFontFamily, String, String, "Impact", "", "") \
macro(FixedFontFamily, fixedFontFamily, String, String, "Courier New", "", "") \
macro(SansSerifFontFamily, sansSerifFontFamily, String, String, "Helvetica", "", "") \
macro(SerifFontFamily, serifFontFamily, String, String, "Times", "", "") \
macro(PictographFontFamily, pictographFontFamily, String, String, "Times", "", "") \
\
#endif
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170926/1658ad3f/attachment.html>
More information about the webkit-unassigned
mailing list