[Webkit-unassigned] [Bug 47452] [Gtk] style="font-family: courier" makes text disappear

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 10 14:27:57 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47452





--- Comment #12 from Holger Freyther <zecke at selfish.org>  2010-10-10 14:27:58 PST ---
I have poked it a bit more... but I still have no conclusion.

1.) it tries 'Courier New' finds Liberation Mono... rejects it...
2.) FontCache.cpp takes the alternate path which will try 'Courier' and this works.
     a FontPlatformData is created with the FcPattern. 

    PlatformRefPtr<cairo_font_face_t> fontFace = adoptPlatformRef(cairo_ft_font_face_create_for_pattern(m_pattern.get()));

    I have printed the cairo_font_face_status of fontFace and it is 0 (success).. I have also dumped the FcPattern..

Pattern has 24 elts (size 32)
    family: "Courier"(s)
    style: "Regular"(s)
    slant: 0(i)(s)
    weight: 80(i)(s)
    width: 100(i)(s)
    pixelsize: 13(f)(s)
    spacing: 100(i)(s)
    foundry: "unknown"(s)
    antialias: FcFalse(s)
    hintstyle: 3(i)(s)
    hinting: FcTrue(s)
    verticallayout: FcFalse(s)
    autohint: FcFalse(s)
    globaladvance: FcTrue(s)
    file: "/usr/share/fonts/wine-courier-fonts/coue1255.fon"(s)
    index: 0(i)(s)
    outline: FcFalse(s)
    scalable: FcFalse(s)
    charset: 
(s)
    lang: (s)
    fontversion: 0(i)(s)
    fontformat: "Windows FNT"(s)
    embeddedbitmap: FcTrue(s)
    decorative: FcFalse(s)

so I wonder why something in webkit is rejecting and not attempting to draw the text.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list