<?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>105694</bug_id>
          
          <creation_ts>2012-12-23 11:09:54 -0800</creation_ts>
          <short_desc>[chromium] Bottom part of non-square glyphs in upright are cut off in vertical flow</short_desc>
          <delta_ts>2013-03-13 08:18:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</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>1</everconfirmed>
          <reporter name="Koji Ishii">kojii</reporter>
          <assigned_to>takao</assigned_to>
          <cc>dominicc</cc>
    
    <cc>efidler</cc>
    
    <cc>syoichi</cc>
    
    <cc>takao</cc>
    
    <cc>xz911jp</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>796789</commentid>
    <comment_count>0</comment_count>
    <who name="Koji Ishii">kojii</who>
    <bug_when>2012-12-23 11:09:54 -0800</bug_when>
    <thetext>When writing-mode:vertical-rl; text-orientation:upright is specified, and when system fallback font is used or self/sanserif is used, font advance is incorrect, and characters overlaps each other.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806095</commentid>
    <comment_count>1</comment_count>
      <attachid>182510</attachid>
    <who name="Koji Ishii">kojii</who>
    <bug_when>2013-01-13 22:46:24 -0800</bug_when>
    <thetext>Created attachment 182510
Test flie: the bottom part is cut off in some glyphs in vertical flow</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806096</commentid>
    <comment_count>2</comment_count>
      <attachid>182511</attachid>
    <who name="Koji Ishii">kojii</who>
    <bug_when>2013-01-13 22:49:33 -0800</bug_when>
    <thetext>Created attachment 182511
Test file current result</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806098</commentid>
    <comment_count>3</comment_count>
    <who name="Koji Ishii">kojii</who>
    <bug_when>2013-01-13 22:55:23 -0800</bug_when>
    <thetext>As I created a test file, I found the issue assessment was incorrect.

The issue is, when non-square glyphs are drawn, the bottom part of glyphs are cut off in certain size. Please see the attached test file and the current result image.

As far as I tested, this issue occurs with MS PGothic 12pt and 14pt. Setting to different size, or using MS Gothic (which all of its glyphs are square) solve the issue.

The bad part is that, MS PGothic is the default Japanese font, Chromium automatically choose it for sans-serif, and 12pt and 14pt are pretty common use cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>806135</commentid>
    <comment_count>4</comment_count>
    <who name="Koji Ishii">kojii</who>
    <bug_when>2013-01-14 00:56:53 -0800</bug_when>
    <thetext>Another test example is at http://epub.nomaki.jp/121217/test-006.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>810164</commentid>
    <comment_count>5</comment_count>
    <who name="">takao</who>
    <bug_when>2013-01-17 20:26:13 -0800</bug_when>
    <thetext>I will work for fixing this bug.
Could you assign to me?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>840868</commentid>
    <comment_count>6</comment_count>
    <who name="">takao</who>
    <bug_when>2013-02-25 04:32:11 -0800</bug_when>
    <thetext>I found out what&apos;s wrong is skia, not WebKit.

The bug can be fixed by modifying skia code,
should I report detail to skia group rather than here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>844806</commentid>
    <comment_count>7</comment_count>
    <who name="">takao</who>
    <bug_when>2013-02-28 21:57:31 -0800</bug_when>
    <thetext>I reported to skia group:
Issue 1138 - skia - Some TTF embedded bitmaps are drawn incompletely
https://code.google.com/p/skia/issues/detail?id=1138</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>848426</commentid>
    <comment_count>8</comment_count>
    <who name="">takao</who>
    <bug_when>2013-03-05 20:46:31 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Another test example is at http://epub.nomaki.jp/121217/test-006.html

It does not seems same as the original matter.
Should be managed on new report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>853024</commentid>
    <comment_count>9</comment_count>
    <who name="">takao</who>
    <bug_when>2013-03-11 20:05:37 -0700</bug_when>
    <thetext>skia has been fixed in r8069.
https://code.google.com/p/skia/source/detail?r=8069

Chromium DEPS will be updated shortly.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>182510</attachid>
            <date>2013-01-13 22:46:24 -0800</date>
            <delta_ts>2013-01-13 22:46:24 -0800</delta_ts>
            <desc>Test flie: the bottom part is cut off in some glyphs in vertical flow</desc>
            <filename>wk105694.html</filename>
            <type>text/html</type>
            <size>656</size>
            <attacher name="Koji Ishii">kojii</attacher>
            
              <data encoding="base64">77u/PCFET0NUWVBFIGh0bWw+DQo8aHRtbCBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMu
b3JnLzE5OTkveGh0bWwiPg0KPGhlYWQ+DQogICAgPG1ldGEgY2hhcnNldD0idXRmLTgiIC8+DQog
ICAgPHRpdGxlPjwvdGl0bGU+DQogICAgPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCmh0bWwgew0K
ICAgIC13ZWJraXQtd3JpdGluZy1tb2RlOiB2ZXJ0aWNhbC1ybDsNCiAgICBsaW5lLWhlaWdodDox
LjZlbTsNCiAgICBmb250LXNpemU6IDE0cHQ7DQp9DQpwIHsNCiAgICBmb250LXNpemU6IDFlbTsN
Cn0NCiAgICA8L3N0eWxlPg0KPC9oZWFkPg0KPGJvZHk+DQogICAgPHAgc3R5bGU9ImZvbnQtZmFt
aWx5OidNUyBHb3RoaWMnIj7jgrPjg6njgrPjg6njgrPjg6k8L3A+DQogICAgPHAgc3R5bGU9ImZv
bnQtZmFtaWx5OidNUyBQR290aGljJyI+44Kz44Op44Kz44Op44Kz44OpPC9wPg0KICAgIDxwIHN0
eWxlPSJmb250LWZhbWlseTpzZXJpZiI+44Kz44Op44Kz44Op44Kz44OpPC9wPg0KICAgIDxwIHN0
eWxlPSJmb250LWZhbWlseTpzYW5zLXNlcmlmIj7jgrPjg6njgrPjg6njgrPjg6k8L3A+DQogICAg
PHAgc3R5bGU9ImZvbnQtZmFtaWx5OmZvbnQtdGhhdC1uZXZlci1leGlzdHMiPuOCs+ODqeOCs+OD
qeOCs+ODqTwvcD4NCjwvYm9keT4NCjwvaHRtbD4=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>182511</attachid>
            <date>2013-01-13 22:49:33 -0800</date>
            <delta_ts>2013-01-13 22:49:33 -0800</delta_ts>
            <desc>Test file current result</desc>
            <filename>wk105694.png</filename>
            <type>image/png</type>
            <size>1225</size>
            <attacher name="Koji Ishii">kojii</attacher>
            
              <data encoding="base64">iVBORw0KGgoAAAANSUhEUgAAAOMAAACICAYAAAAVvVzVAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAReSURBVHhe7dnRbttKDEXR/P9P90IQjGsU7NiO
ac+hsBbAV4Uz8k5c9OcPEEGMEEKMEEKMEEKMEEKMEEKMEEKMEEKMEOJhjD8/Py9Ngmqv1aSqdl1N
kmq/1fBEjK+YeKlX+SBMPocYT2IU43ZiPIlRjNuJ8SRGMW6XuPux0yvTofUWupb6pok7VyafY/o7
EGMTMe4nxlPrLYhxHzHuI8YmYtxPjKdrfBJhIzFCCDFCCDFCCDFCiK/GePywZyZJtV816aqdq0lU
7VlNomrP1XTI/zRCODHCxYgRQjyM8e/vxo8mQbXX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pDPIgRXnBE
+IkQD2KEB24BfirCGzFCCDFCCDFCCDFCCDFCCDFCCDFCCDFCCDFCCDFCCDFCCDFCCDFCCDFCCDFC
CDFChD9//gPMQqcnY3+66QAAAABJRU5ErkJggg==
</data>

          </attachment>
      

    </bug>

</bugzilla>