Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Issue 263363005: Initial patch for FontVariant, variant like HalfWidth should take Complex Path (Closed)

Created:
6 years, 7 months ago by h.joshi
Modified:
6 years, 4 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@emoji_android
Visibility:
Public.

Description

Initial patch for FontVariant, this is to support HalfWidth, ThirdWidth, QuarterWidth and will take complex path while rendering. BUG=350404 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180241

Patch Set 1 #

Total comments: 2

Patch Set 2 : Adding test case based on testharness.js #

Total comments: 7

Patch Set 3 : Updated test case #

Total comments: 2

Patch Set 4 : Comment fix #

Patch Set 5 : Updating test case #

Total comments: 16

Patch Set 6 : Comment fix and adding Font file #

Total comments: 20

Patch Set 7 : Updated Test case #

Patch Set 8 : Rebase files #

Patch Set 9 : Updating Test Expectation #

Patch Set 10 : Updating Test Expectation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -0 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/font-variant-width.html View 1 2 3 4 5 6 1 chunk +70 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/font-variant-width-expected.txt View 1 2 3 4 5 6 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/third_party/CSSOrientationTest/CSSHWOrientationTest.ttf View 1 2 3 4 5 Binary file 0 comments Download
A LayoutTests/third_party/CSSOrientationTest/LICENSE.txt View 1 2 3 4 5 1 chunk +86 lines, -0 lines 0 comments Download
A LayoutTests/third_party/CSSOrientationTest/README.chromium View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M Source/platform/fonts/Font.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp View 1 2 3 4 5 6 7 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 62 (0 generated)
h.joshi
Initial patch, PTAL
6 years, 7 months ago (2014-05-06 14:44:30 UTC) #1
behdad_google
6 years, 7 months ago (2014-05-07 17:34:41 UTC) #2
Dominik Röttsches
The code itself looks alright to me, with a nit about the comment. Note that ...
6 years, 7 months ago (2014-05-09 07:52:18 UTC) #3
h.joshi
Will check Droid Sans and in case that does not work will try to find ...
6 years, 7 months ago (2014-05-09 08:48:25 UTC) #4
h.joshi
Not able to find any ope source font which has all three variants present, found ...
6 years, 7 months ago (2014-05-10 01:50:26 UTC) #5
Dominik Röttsches
On 2014/05/10 01:50:26, h.joshi wrote: > Not able to find any ope source font which ...
6 years, 7 months ago (2014-05-10 22:02:12 UTC) #6
h.joshi
In the link shared I found "ipaexm.ttf" under "IPA Minchō", can we put this font ...
6 years, 7 months ago (2014-05-12 09:58:42 UTC) #7
h.joshi
Similar is used in "font-face-woff.html" (LayoutTests/fast/css/font-face-woff.html), font "ipaexm.ttf" has HalfWidth property present. On 2014/05/12 09:58:42, ...
6 years, 7 months ago (2014-05-12 10:03:29 UTC) #8
Dominik Röttsches
On 2014/05/12 10:03:29, h.joshi wrote: > Similar is used in "font-face-woff.html" > (LayoutTests/fast/css/font-face-woff.html), font "ipaexm.ttf" ...
6 years, 7 months ago (2014-05-12 11:03:28 UTC) #9
h.joshi
Added new patch with test case based on testharness.js, new to using testharness and facing ...
6 years, 7 months ago (2014-05-13 05:53:43 UTC) #10
h.joshi
File "CSSHWOrientationTest.ttf " is taken from "http://sourceforge.net/projects/csso9ntestfonts.adobe/" it has Half Width variant information present, it ...
6 years, 7 months ago (2014-05-13 05:56:14 UTC) #11
Dominik Röttsches
Thanks for the update. However, in my opinion, the patch needs a lot more work. ...
6 years, 7 months ago (2014-05-13 08:45:33 UTC) #12
Dominik Röttsches
On 2014/05/12 09:58:42, h.joshi wrote: > In the link shared I found "ipaexm.ttf" under "IPA ...
6 years, 7 months ago (2014-05-13 08:47:05 UTC) #13
h.joshi
@Dominik: Yes this patch was "work in progress", will make sure to mention this in ...
6 years, 7 months ago (2014-05-13 09:01:33 UTC) #14
Dominik Röttsches
On 2014/05/13 09:01:33, h.joshi wrote: > Now we are using "CSSHWOrientationTest.ttf" which has Half-width" feature. ...
6 years, 7 months ago (2014-05-13 09:54:08 UTC) #15
h.joshi
In one of your previous comment, link "http://en.wikipedia.org/wiki/List_of_CJK_fonts" was shared. In this link we have ...
6 years, 7 months ago (2014-05-13 11:29:24 UTC) #16
h.joshi
@Dominik: I have started to work to make suggested test case , after going though ...
6 years, 7 months ago (2014-05-14 06:11:10 UTC) #17
Dominik Röttsches
On 2014/05/14 06:11:10, h.joshi wrote: > @Dominik: I have started to work to make suggested ...
6 years, 7 months ago (2014-05-14 06:40:49 UTC) #18
h.joshi
Update: Font "CSSHWOrientationTest.ttf" has only Half-width and on using more than 2 digits rendering of ...
6 years, 7 months ago (2014-05-14 07:38:58 UTC) #19
Dominik Röttsches
On 2014/05/14 07:38:58, h.joshi wrote: > Update: > Font "CSSHWOrientationTest.ttf" has only Half-width and on ...
6 years, 7 months ago (2014-05-14 08:24:43 UTC) #20
h.joshi
Yes, I also want to make a good test case the only problem is font ...
6 years, 7 months ago (2014-05-14 11:13:46 UTC) #21
Dominik Röttsches
What I was trying to say: Even if you have only half-width, your test needs ...
6 years, 7 months ago (2014-05-14 13:05:54 UTC) #22
h.joshi
For "But what happens for narrow digits, like a "1" - does the code maybe ...
6 years, 7 months ago (2014-05-15 11:47:11 UTC) #23
h.joshi
To check more cases, we need new font with all Width variants and glyphs with ...
6 years, 7 months ago (2014-05-15 12:29:55 UTC) #24
Dominik Röttsches
On 2014/05/15 11:47:11, h.joshi wrote: > For "But what happens for narrow digits, like a ...
6 years, 7 months ago (2014-05-15 13:24:06 UTC) #25
Dominik Röttsches
https://codereview.chromium.org/263363005/diff/60001/LayoutTests/fast/text/font-variant-width.html File LayoutTests/fast/text/font-variant-width.html (right): https://codereview.chromium.org/263363005/diff/60001/LayoutTests/fast/text/font-variant-width.html#newcode46 LayoutTests/fast/text/font-variant-width.html:46: assert_true(( (theCSSprop_1 >= 24) && (theCSSprop_1 < (2 * ...
6 years, 7 months ago (2014-05-15 13:29:24 UTC) #26
h.joshi
https://codereview.chromium.org/263363005/diff/60001/LayoutTests/fast/text/font-variant-width.html File LayoutTests/fast/text/font-variant-width.html (right): https://codereview.chromium.org/263363005/diff/60001/LayoutTests/fast/text/font-variant-width.html#newcode46 LayoutTests/fast/text/font-variant-width.html:46: assert_true(( (theCSSprop_1 >= 24) && (theCSSprop_1 < (2 * ...
6 years, 7 months ago (2014-05-19 12:45:36 UTC) #27
h.joshi
Patch updated with test case suggested changes and font file moved to https://codereview.chromium.org/291103003/ patch
6 years, 7 months ago (2014-05-20 10:05:02 UTC) #28
Dominik Röttsches
Comments #22 and #25 have not been addressed.
6 years, 7 months ago (2014-05-20 10:40:24 UTC) #29
Inactive
https://codereview.chromium.org/263363005/diff/120001/LayoutTests/fast/text/font-variant-width-expected.txt File LayoutTests/fast/text/font-variant-width-expected.txt (right): https://codereview.chromium.org/263363005/diff/120001/LayoutTests/fast/text/font-variant-width-expected.txt#newcode2 LayoutTests/fast/text/font-variant-width-expected.txt:2: This is a testharness.js-based test. As far as I ...
6 years, 7 months ago (2014-05-22 13:59:51 UTC) #30
h.joshi
https://codereview.chromium.org/263363005/diff/120001/LayoutTests/fast/text/font-variant-width-expected.txt File LayoutTests/fast/text/font-variant-width-expected.txt (right): https://codereview.chromium.org/263363005/diff/120001/LayoutTests/fast/text/font-variant-width-expected.txt#newcode2 LayoutTests/fast/text/font-variant-width-expected.txt:2: This is a testharness.js-based test. Webkit layout script is ...
6 years, 7 months ago (2014-05-27 06:24:22 UTC) #31
h.joshi
https://codereview.chromium.org/263363005/diff/120001/LayoutTests/fast/text/font-variant-width.html File LayoutTests/fast/text/font-variant-width.html (right): https://codereview.chromium.org/263363005/diff/120001/LayoutTests/fast/text/font-variant-width.html#newcode1 LayoutTests/fast/text/font-variant-width.html:1: <!DOCTYPE HTML> Will make changes. https://codereview.chromium.org/263363005/diff/120001/LayoutTests/fast/text/font-variant-width.html#newcode4 LayoutTests/fast/text/font-variant-width.html:4: <style type="text/css"> ...
6 years, 7 months ago (2014-05-27 06:25:56 UTC) #32
h.joshi
New patch with suggested changes and adding Font File to this patch ("Dirk Pranke" suggested ...
6 years, 7 months ago (2014-05-27 06:45:02 UTC) #33
Dominik Röttsches
Does not look good to me. Your test does not pass on Linux. I'd suggest ...
6 years, 7 months ago (2014-05-27 08:54:22 UTC) #34
h.joshi
Thank you for taking time and creating test case to help me understand things. Will ...
6 years, 7 months ago (2014-05-27 10:56:56 UTC) #35
eseidel
Behdad or eae are the correct reviewers. Thank you Chris for helping h.joshi to navigate ...
6 years, 6 months ago (2014-05-28 22:48:51 UTC) #36
behdad_google
lgtm
6 years, 6 months ago (2014-05-30 18:35:14 UTC) #37
h.joshi
@Emil: Pls review this patch Thank you Behdad
6 years, 5 months ago (2014-07-23 17:49:53 UTC) #38
eae
On 2014/07/23 17:49:53, h.joshi wrote: > @Emil: Pls review this patch > Thank you Behdad ...
6 years, 5 months ago (2014-07-23 17:52:09 UTC) #39
h.joshi
okey from Eric last comment I thought only you and Behdad need to review, sorry ...
6 years, 5 months ago (2014-07-23 18:10:27 UTC) #40
Dominik Röttsches
I was not able to test the patch. It currently does not apply cleanly (Font.cpp ...
6 years, 4 months ago (2014-07-31 12:34:07 UTC) #41
Dominik Röttsches
Thanks for the rebase- I was able to test the patch now when using the ...
6 years, 4 months ago (2014-08-12 14:20:11 UTC) #42
h.joshi
@Dominik: thank you for LGTM Planned to file bug for font today, was busy with ...
6 years, 4 months ago (2014-08-13 04:26:32 UTC) #43
h.joshi
@Dominik: Bug "http://crbug.com/403211" is filed for Font addition.
6 years, 4 months ago (2014-08-13 04:34:04 UTC) #44
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 4 months ago (2014-08-13 04:51:42 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/263363005/210001
6 years, 4 months ago (2014-08-13 04:52:35 UTC) #46
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_blink_compile_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-13 05:57:48 UTC) #47
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 05:59:09 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/16060)
6 years, 4 months ago (2014-08-13 05:59:10 UTC) #49
Dominik Röttsches
On 2014/08/13 04:34:04, h.joshi wrote: > @Dominik: Bug "http://crbug.com/403211" is filed for Font addition. This ...
6 years, 4 months ago (2014-08-13 07:01:33 UTC) #50
h.joshi
@Dominik: Okey, I mixed your statement with this CL. Once this is patch is uploaded, ...
6 years, 4 months ago (2014-08-13 12:47:56 UTC) #51
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 4 months ago (2014-08-13 12:48:11 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/263363005/230001
6 years, 4 months ago (2014-08-13 12:49:05 UTC) #53
Dominik Röttsches
On 2014/08/13 12:47:56, h.joshi wrote: > @Dominik: Okey, I mixed your statement with this CL. ...
6 years, 4 months ago (2014-08-13 13:04:25 UTC) #54
Dominik Röttsches
> I focus the efforts on actually authoring one. Sry, I meant: I *would* suggest ...
6 years, 4 months ago (2014-08-13 13:07:15 UTC) #55
h.joshi
Sure, I had this is mind to use FontTools to modify things. Will surely start ...
6 years, 4 months ago (2014-08-13 13:12:54 UTC) #56
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.blink ...
6 years, 4 months ago (2014-08-13 13:45:03 UTC) #57
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 13:47:33 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_chromium_gn_rel/builds/7330)
6 years, 4 months ago (2014-08-13 13:47:34 UTC) #59
h.joshi
The CQ bit was checked by h.joshi@samsung.com
6 years, 4 months ago (2014-08-14 04:47:04 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/263363005/230001
6 years, 4 months ago (2014-08-14 04:48:31 UTC) #61
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 06:19:14 UTC) #62
Message was sent while issue was closed.
Committed patchset #10 (230001) as 180241

Powered by Google App Engine
This is Rietveld 408576698