<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>26003</bug_id>
          
          <creation_ts>2009-05-24 23:57:08 -0700</creation_ts>
          <short_desc>Has inconsistent font selection behavior compared with other GTK2 apps</short_desc>
          <delta_ts>2012-02-20 14:59:25 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Hongzheng Wang">wanghz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gustavo</cc>
    
    <cc>kenneth</cc>
    
    <cc>mrobinson</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>xan.lopez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>123013</commentid>
    <comment_count>0</comment_count>
    <who name="Hongzheng Wang">wanghz</who>
    <bug_when>2009-05-24 23:57:08 -0700</bug_when>
    <thetext>I&apos;m using Debian Linux (sid/unstable).  Currently, Debian provides epiphany-webkit version 2.27.1-2 in sid, which uses webkitGTK+1.1.7.  The problem I encountered is that epiphany-webkit has not inconsistent font selection behavior compared with other GTK2 apps when epiphany-webkit is rendering web pages containing Chinese characters.

To be specific, we consider a freshly setup Debian Linux with packages ttf-arphic-uming and ttf-arphic-ukai installed.  These two packages provide Chinese fonts: AR PL UMing and AR PL UKai.  These packages also installed fontconfig configuration files which contain the instructions to prefer to AR PL UMing when Chinese characters are rendered through fontconfig.  That is, when a typical GTK2 app needs display some Chinese characters (not covered by the system&apos;s default font DeJaVu Sans), AR PL UMing font will be selected.  Such a behavior is consistent in both GTK2 and QT4 apps.

But in epiphany-webkit, a GTK2 app using webkit, this behavior is no longer consistent.  For example, when we open a web page, like www.google.com.hk, AR PL UKai will be used instead to render the Chinese characters.  As another example, when www.xinhuanet.com is accessed, AR PL UKai is also selected instead of AR PL UMing.

So, I wonder if there is a bug in webkitGTK+ so that epiphany-webkit does not fully respect fontconfig&apos;s configurations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131422</commentid>
    <comment_count>1</comment_count>
      <attachid>32682</attachid>
    <who name="David Evans">devans</who>
    <bug_when>2009-07-13 15:25:03 -0700</bug_when>
    <thetext>Created attachment 32682
Patch to fix QuickTime/X11 namespace conflict</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>237963</commentid>
    <comment_count>2</comment_count>
    <who name="Antonio Gomes">tonikitoo</who>
    <bug_when>2010-06-14 11:56:16 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Created an attachment (id=32682) [details]
&gt; Patch to fix QuickTime/X11 namespace conflict

Also, epiphany guys cc&apos;ed

ps: patch looks unrelated and is in so bad shape (lack of commit message and explaination, lack of context, etc).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560385</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2012-02-20 14:52:20 -0800</bug_when>
    <thetext>Is this still an issue? A lot has changed with font selection. If you notice some inconsistency between Chromium/Firefox and WebKitGTK+, I&apos;d be very interested to fix it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560388</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2012-02-20 14:59:25 -0800</bug_when>
    <thetext>I see Chromium and Firefox selecting the same font that WebKitGTK+ does in the situation listed above. If this is not truly the case or there is some further issue, feel free to reopen this bug. I think it may be fixed now though.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>32682</attachid>
            <date>2009-07-13 15:25:03 -0700</date>
            <delta_ts>2010-06-10 17:47:06 -0700</delta_ts>
            <desc>Patch to fix QuickTime/X11 namespace conflict</desc>
            <filename>patch-WebKitTools-DumpRenderTree-gtk-TestNetscapePlugin-TestNetscapePlugin.cpp.diff</filename>
            <type>text/plain</type>
            <size>702</size>
            <attacher name="David Evans">devans</attacher>
            
              <data encoding="base64">LS0tIFdlYktpdFRvb2xzL0R1bXBSZW5kZXJUcmVlL2d0ay9UZXN0TmV0c2NhcGVQbHVnaW4vVGVz
dE5ldHNjYXBlUGx1Z2luLmNwcC5vcmlnCTIwMDktMDctMTAgMDM6MDI6MDIuMDAwMDAwMDAwIC0w
NzAwCisrKyBXZWJLaXRUb29scy9EdW1wUmVuZGVyVHJlZS9ndGsvVGVzdE5ldHNjYXBlUGx1Z2lu
L1Rlc3ROZXRzY2FwZVBsdWdpbi5jcHAJMjAwOS0wNy0xMyAxMjo1OTo0MC4wMDAwMDAwMDAgLTA3
MDAKQEAgLTI2LDYgKzI2LDEzIEBACiAgKi8KIAogI2luY2x1ZGUgImNvbmZpZy5oIgorCisjZGVm
aW5lIEN1cnNvciAgICAgICBRRF9DdXJzb3IKKyNkZWZpbmUgV2luZG93UHRyICAgIFFEX1dpbmRv
d1B0cgorI2RlZmluZSBQaWN0dXJlICAgICAgUURfUGljdHVyZQorI2RlZmluZSBCT09MICAgICAg
ICAgT1NYX0JPT0wKKyNkZWZpbmUgRXZlbnRUeXBlICAgIEhJVF9FdmVudFR5cGUKKwogI2luY2x1
ZGUgIlBsdWdpbk9iamVjdC5oIgogCiAjaW5jbHVkZSAibnBhcGkuaCIKQEAgLTM2LDYgKzQzLDEz
IEBACiAjaW5jbHVkZSA8c3RkaW8uaD4KICNpbmNsdWRlIDxzdHJpbmcuaD4KICNpbmNsdWRlIDxz
dGRsaWIuaD4KKworI3VuZGVmIEN1cnNvcgorI3VuZGVmIFdpbmRvd1B0cgorI3VuZGVmIFBpY3R1
cmUKKyN1bmRlZiBCT09MCisjdW5kZWYgRXZlbnRUeXBlCisKICNpbmNsdWRlIDxYMTEvWGxpYi5o
PgogCiBleHRlcm4gIkMiIHsK
</data>

          </attachment>
      

    </bug>

</bugzilla>