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

Issue 658573004: Updating to new OTS repo from https://github.com/khaledhosny/ots.git (Closed)

Created:
6 years, 2 months ago by h.joshi
Modified:
5 years, 6 months ago
CC:
chromium-reviews, aarya, bashi (use chromium)
Base URL:
https://chromium.googlesource.com/external/ots@master
Visibility:
Public.

Description

Updating with to new OTS repo from https://github.com/khaledhosny/ots.git Hash tag imported: c24a839b1c66c4de09e58fabaacb82bf3bd692a4 Some important differences between new and old version of OTS: 1. Support for MATH table 2. Implementation changes related to new WOFF 2.0 3. Bug fixes related to OTF tables (GDEF, GSUB etc) parsing 4. Accept platform 0 encoding 1 cmap subtables 5. Allow fonts with CMAP format-12 or format-13 table A dummy version of EnableWOFF() is added to get Blink compiled. After the following CL is landed in Blink, it'll be removed. Blink CL: https://codereview.chromium.org/774253008 TEST: Blink layout tests: fast/css/font-face* BUG=339857

Patch Set 1 #

Patch Set 2 : Adding Colored Emoji changes from external/git repo #

Total comments: 4

Patch Set 3 : Fixining file permission issue #

Patch Set 4 : Remobing.git files from patch #

Patch Set 5 : Adding README.chromium #

Patch Set 6 : Code Update #

Patch Set 7 : Fixing compile issue #

Patch Set 8 : Adding dummy ots::EnableWOFF method #

Patch Set 9 : Fixing Windows 4800 error, adding condition to ots.gyp #

Total comments: 2

Patch Set 10 : Fixing README.chromium comments #

Patch Set 11 : Adding BUILD.gn file #

Total comments: 2

Patch Set 12 : Removing Emoji files from Build.gn #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18134 lines, -4 lines) Patch
M .gitignore View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M DEPS View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
A third_party/ots/.gitignore View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/ots/.gitmodules View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/ots/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +91 lines, -0 lines 0 comments Download
A third_party/ots/INSTALL View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
A third_party/ots/LICENSE View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/ots/OWNERS View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/ots/README View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/ots/README.chromium View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/ots/docs/DesignDoc.md View 1 2 3 4 5 1 chunk +136 lines, -0 lines 0 comments Download
A third_party/ots/docs/HowToTest.md View 1 2 3 4 5 1 chunk +68 lines, -0 lines 0 comments Download
A third_party/ots/gyp_ots View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/ots/include/opentype-sanitiser.h View 1 2 3 4 5 6 7 1 chunk +231 lines, -0 lines 0 comments Download
A third_party/ots/include/ots-memory-stream.h View 1 2 3 4 5 1 chunk +105 lines, -0 lines 0 comments Download
A third_party/ots/ots.gyp View 1 2 3 4 5 6 7 8 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/ots/ots-common.gypi View 1 2 3 4 5 1 chunk +77 lines, -0 lines 0 comments Download
A third_party/ots/ots-standalone.gyp View 1 2 3 4 5 1 chunk +256 lines, -0 lines 0 comments Download
A third_party/ots/src/cff.h View 1 2 3 4 5 1 chunk +46 lines, -0 lines 0 comments Download
A third_party/ots/src/cff.cc View 1 2 3 4 5 1 chunk +1041 lines, -0 lines 0 comments Download
A third_party/ots/src/cff_type2_charstring.h View 1 2 3 4 5 1 chunk +101 lines, -0 lines 0 comments Download
A third_party/ots/src/cff_type2_charstring.cc View 1 2 3 4 5 1 chunk +914 lines, -0 lines 0 comments Download
A third_party/ots/src/cmap.h View 1 2 3 4 5 1 chunk +74 lines, -0 lines 0 comments Download
A third_party/ots/src/cmap.cc View 1 2 3 4 5 1 chunk +1106 lines, -0 lines 0 comments Download
A third_party/ots/src/cvt.h View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/ots/src/cvt.cc View 1 2 3 4 5 1 chunk +60 lines, -0 lines 0 comments Download
A third_party/ots/src/fpgm.h View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/ots/src/fpgm.cc View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/ots/src/gasp.h View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
A third_party/ots/src/gasp.cc View 1 2 3 4 5 1 chunk +114 lines, -0 lines 0 comments Download
A third_party/ots/src/gdef.h View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A third_party/ots/src/gdef.cc View 1 2 3 4 5 1 chunk +388 lines, -0 lines 0 comments Download
A third_party/ots/src/glyf.h View 1 2 3 4 5 1 chunk +22 lines, -0 lines 0 comments Download
A third_party/ots/src/glyf.cc View 1 2 3 4 5 1 chunk +298 lines, -0 lines 0 comments Download
A third_party/ots/src/gpos.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/ots/src/gpos.cc View 1 2 3 4 5 1 chunk +828 lines, -0 lines 0 comments Download
A third_party/ots/src/gsub.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/ots/src/gsub.cc View 1 2 3 4 5 1 chunk +685 lines, -0 lines 0 comments Download
A third_party/ots/src/hdmx.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/ots/src/hdmx.cc View 1 2 3 4 5 1 chunk +142 lines, -0 lines 0 comments Download
A third_party/ots/src/head.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/ots/src/head.cc View 1 2 3 4 5 1 chunk +153 lines, -0 lines 0 comments Download
A third_party/ots/src/hhea.h View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/ots/src/hhea.cc View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A third_party/ots/src/hmtx.h View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/ots/src/hmtx.cc View 1 2 3 4 5 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/ots/src/kern.h View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
A third_party/ots/src/kern.cc View 1 2 3 4 5 1 chunk +203 lines, -0 lines 0 comments Download
A third_party/ots/src/layout.h View 1 2 3 4 5 1 chunk +76 lines, -0 lines 0 comments Download
A third_party/ots/src/layout.cc View 1 2 3 4 5 1 chunk +1511 lines, -0 lines 0 comments Download
A third_party/ots/src/loca.h View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/ots/src/loca.cc View 1 2 3 4 5 1 chunk +104 lines, -0 lines 0 comments Download
A third_party/ots/src/ltsh.h View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/ots/src/ltsh.cc View 1 2 3 4 5 1 chunk +92 lines, -0 lines 0 comments Download
A third_party/ots/src/math.cc View 1 2 3 4 5 1 chunk +609 lines, -0 lines 0 comments Download
A third_party/ots/src/math_.h View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/ots/src/maxp.h View 1 2 3 4 5 1 chunk +35 lines, -0 lines 0 comments Download
A third_party/ots/src/maxp.cc View 1 2 3 4 5 1 chunk +120 lines, -0 lines 0 comments Download
A third_party/ots/src/metrics.h View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/ots/src/metrics.cc View 1 2 3 4 5 1 chunk +193 lines, -0 lines 0 comments Download
A third_party/ots/src/name.h View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A third_party/ots/src/name.cc View 1 2 3 4 5 1 chunk +340 lines, -0 lines 0 comments Download
A third_party/ots/src/os2.h View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/ots/src/os2.cc View 1 2 3 4 5 1 chunk +294 lines, -0 lines 0 comments Download
A third_party/ots/src/ots.h View 1 2 3 4 5 1 chunk +259 lines, -0 lines 0 comments Download
A third_party/ots/src/ots.cc View 1 2 3 4 5 6 7 1 chunk +824 lines, -0 lines 0 comments Download
A third_party/ots/src/post.h View 1 2 3 4 5 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/ots/src/post.cc View 1 2 3 4 5 1 chunk +188 lines, -0 lines 0 comments Download
A third_party/ots/src/prep.h View 1 2 3 4 5 1 chunk +19 lines, -0 lines 0 comments Download
A third_party/ots/src/prep.cc View 1 2 3 4 5 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/ots/src/vdmx.h View 1 2 3 4 5 1 chunk +45 lines, -0 lines 0 comments Download
A third_party/ots/src/vdmx.cc View 1 2 3 4 5 1 chunk +181 lines, -0 lines 0 comments Download
A third_party/ots/src/vhea.h View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/ots/src/vhea.cc View 1 2 3 4 5 1 chunk +59 lines, -0 lines 0 comments Download
A third_party/ots/src/vmtx.h View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/ots/src/vmtx.cc View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/ots/src/vorg.h View 1 2 3 4 5 1 chunk +28 lines, -0 lines 0 comments Download
A third_party/ots/src/vorg.cc View 1 2 3 4 5 1 chunk +106 lines, -0 lines 0 comments Download
A third_party/ots/src/woff2.h View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/ots/src/woff2.cc View 1 2 3 4 5 6 1 chunk +991 lines, -0 lines 0 comments Download
A third_party/ots/test/BLACKLIST.txt View 1 2 3 4 5 1 chunk +124 lines, -0 lines 0 comments Download
A third_party/ots/test/README View 1 2 3 4 5 1 chunk +243 lines, -0 lines 0 comments Download
A third_party/ots/test/cff_type2_charstring_test.cc View 1 2 3 4 5 1 chunk +1584 lines, -0 lines 0 comments Download
A third_party/ots/test/file-stream.h View 1 2 3 4 5 1 chunk +58 lines, -0 lines 0 comments Download
A third_party/ots/test/idempotent.cc View 1 2 3 4 5 1 chunk +219 lines, -0 lines 0 comments Download
A third_party/ots/test/layout_common_table_test.cc View 1 2 3 4 5 1 chunk +761 lines, -0 lines 0 comments Download
A third_party/ots/test/ot-sanitise.cc View 1 2 3 4 5 1 chunk +101 lines, -0 lines 0 comments Download
A third_party/ots/test/perf.cc View 1 2 3 4 5 1 chunk +80 lines, -0 lines 0 comments Download
A third_party/ots/test/side-by-side.cc View 1 2 3 4 5 1 chunk +281 lines, -0 lines 0 comments Download
A third_party/ots/test/table_dependencies_test.cc View 1 2 3 4 5 1 chunk +78 lines, -0 lines 0 comments Download
A third_party/ots/test/test_malicious_fonts.sh View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
A third_party/ots/test/test_unmalicious_fonts.sh View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
A third_party/ots/test/validator-checker.cc View 1 2 3 4 5 1 chunk +172 lines, -0 lines 0 comments Download
A third_party/ots/third_party/brotli.gyp View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
A third_party/ots/tools/ttf-checksum.py View 1 2 3 4 5 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 49 (7 generated)
h.joshi
Moving to latest code set from https://github.com/khaledhosny/ots.git which include Khaled changes for compatibility changes for ...
6 years, 2 months ago (2014-10-16 10:02:34 UTC) #2
behdad_google
Generally looks good. The file permission changes from 644 to 755 looks wrong though. Can ...
6 years, 2 months ago (2014-10-16 21:18:02 UTC) #4
h.joshi
Pls review. Changed file permission back to 644, file permissions were set to 755 in ...
6 years, 2 months ago (2014-10-17 05:02:16 UTC) #5
h.joshi
@Behdad: Pls review
6 years, 2 months ago (2014-10-18 18:52:25 UTC) #6
jungshik at Google
On 2014/10/18 18:52:25, h.joshi wrote: > @Behdad: Pls review Pls, move README.chromium to this CL.
6 years, 2 months ago (2014-10-20 18:13:18 UTC) #7
jungshik at Google
Adam, can you take a look (as the original author of OTS and as a ...
6 years, 2 months ago (2014-10-20 18:40:10 UTC) #9
jungshik at Google
In addition to adding README.chromium from another CL of yours, please specify what version (git ...
6 years, 2 months ago (2014-10-20 18:42:27 UTC) #10
agl
Not a member of security team and I no longer handle OTS, I'm afraid.
6 years, 2 months ago (2014-10-20 18:42:31 UTC) #11
jungshik at Google
On 2014/10/20 18:42:31, agl wrote: > Not a member of security team and I no ...
6 years, 2 months ago (2014-10-20 21:05:31 UTC) #12
h.joshi
Added README.chromium file to this patch. Updated patch description to include hash tag and list ...
6 years, 2 months ago (2014-10-21 05:20:40 UTC) #13
jungshik at Google
On 2014/10/21 05:20:40, h.joshi wrote: > Added README.chromium file to this patch. > Updated patch ...
6 years ago (2014-11-26 19:54:31 UTC) #14
h.joshi
@jshin: Thank you for guiding me, sorry for the delay was busy with other issue ...
6 years ago (2014-12-03 04:18:31 UTC) #15
bashi
> I have one doubt, github version of OTS does not have Emoji related changes ...
6 years ago (2014-12-03 04:29:17 UTC) #16
h.joshi
@bashi1: So I have update current patch with github version? Or this patch will work?
6 years ago (2014-12-03 04:35:53 UTC) #17
bashi
On 2014/12/03 04:35:53, h.joshi wrote: > @bashi1: So I have update current patch with github ...
6 years ago (2014-12-03 07:39:19 UTC) #18
jungshik at Google
On 2014/12/03 04:29:17, bashi1 wrote: > > I have one doubt, github version of OTS ...
6 years ago (2014-12-03 19:58:17 UTC) #19
jungshik at Google
On 2014/12/03 04:35:53, h.joshi wrote: > @bashi1: So I have update current patch with github ...
6 years ago (2014-12-03 20:27:53 UTC) #20
chromium-reviews
I'll figure that out today. On Wed, Dec 3, 2014, 12:27 PM null <jshin@chromium.org> wrote: ...
6 years ago (2014-12-03 20:28:55 UTC) #21
h.joshi
@Jungshik Shin: Thank you for detailed comments. I followed the steps, currently facing problem when ...
6 years ago (2014-12-04 06:13:51 UTC) #22
h.joshi
Issue was due to difference in file bit permission settings, corrected the same.
6 years ago (2014-12-04 07:05:01 UTC) #23
h.joshi
New Blink patch is also submitted: https://codereview.chromium.org/774253008 This is required as "ots::EnableWOFF2()" is no longer ...
6 years ago (2014-12-04 07:55:31 UTC) #24
h.joshi
@Behdad: Should I make patch to merger Emoji-related changes to the github version? I already ...
6 years ago (2014-12-04 14:45:02 UTC) #25
jungshik at Google
On 2014/12/04 07:55:31, h.joshi wrote: > New Blink patch is also submitted: https://codereview.chromium.org/774253008 > > ...
6 years ago (2014-12-04 21:08:24 UTC) #26
behdad_google
On 2014/12/04 14:45:02, h.joshi wrote: > @Behdad: Should I make patch to merger Emoji-related changes ...
6 years ago (2014-12-04 21:14:52 UTC) #27
h.joshi
Dummy ots::EnableWOFF method is added.
6 years ago (2014-12-05 06:57:11 UTC) #28
h.joshi
In Windows bots, issue is due to "forcing value to bool 'true' or 'false'", checking ...
6 years ago (2014-12-05 09:13:48 UTC) #29
h.joshi
With dummy "ots::EnableWOFF" method, patch is compiling on Windows,Mac,Linux bots.
6 years ago (2014-12-05 12:41:21 UTC) #30
jungshik at Google
In addition to my comment below about README.chromium, please update the CL description and mention ...
6 years ago (2014-12-05 18:40:32 UTC) #32
jungshik at Google
> Depends on https://codereview.chromium.org/774253008 This is not the case any more. How about this in ...
6 years ago (2014-12-05 18:43:14 UTC) #33
jungshik at Google
On 2014/12/05 18:43:14, Jungshik Shin wrote: > > Depends on https://codereview.chromium.org/774253008 > > This is ...
6 years ago (2014-12-05 18:46:08 UTC) #34
h.joshi
Made changes to README.chromium with correct github link.
6 years ago (2014-12-08 08:55:47 UTC) #35
jungshik at Google
On 2014/12/08 08:55:47, h.joshi wrote: > Made changes to README.chromium with correct github link. Thank ...
6 years ago (2014-12-08 19:36:29 UTC) #36
jungshik at Google
On 2014/12/08 19:36:29, Jungshik Shin wrote: > On 2014/12/08 08:55:47, h.joshi wrote: > > Made ...
6 years ago (2014-12-08 19:37:25 UTC) #37
jungshik at Google
https://codereview.chromium.org/658573004/diff/160001/third_party/ots/ots.gyp File third_party/ots/ots.gyp (right): https://codereview.chromium.org/658573004/diff/160001/third_party/ots/ots.gyp#newcode36 third_party/ots/ots.gyp:36: 4800, You may file a bug upstream so that ...
6 years ago (2014-12-08 19:43:42 UTC) #38
jungshik at Google
On 2014/12/08 19:43:42, Jungshik Shin wrote: > https://codereview.chromium.org/658573004/diff/160001/third_party/ots/ots.gyp > File third_party/ots/ots.gyp (right): > > https://codereview.chromium.org/658573004/diff/160001/third_party/ots/ots.gyp#newcode36 ...
6 years ago (2014-12-09 00:38:13 UTC) #39
h.joshi
@Jungshik Shin: Thank you. Github bug for C4800 is filed and comment added pointing to ...
6 years ago (2014-12-09 04:35:06 UTC) #40
jungshik at Google
With what's below taken care of, LGTM. https://codereview.chromium.org/658573004/diff/200001/third_party/ots/ots.gyp File third_party/ots/ots.gyp (right): https://codereview.chromium.org/658573004/diff/200001/third_party/ots/ots.gyp#newcode36 third_party/ots/ots.gyp:36: 4800, It ...
6 years ago (2014-12-09 19:31:03 UTC) #41
jungshik at Google
You have to get gn builds succeed. https://codereview.chromium.org/658573004/diff/200001/third_party/ots/BUILD.gn File third_party/ots/BUILD.gn (right): https://codereview.chromium.org/658573004/diff/200001/third_party/ots/BUILD.gn#newcode13 third_party/ots/BUILD.gn:13: "src/cbdt.cc", gn ...
6 years ago (2014-12-10 07:22:19 UTC) #42
h.joshi
@Jungshik Shin: Yes these files will be added in the next review process. Will correct ...
6 years ago (2014-12-11 05:16:59 UTC) #43
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
6 years ago (2014-12-11 09:56:25 UTC) #46
h.joshi
Getting following error when trying to submit patch: Error: "Commit queue rejected this change because ...
6 years ago (2014-12-11 11:25:43 UTC) #48
h.joshi
6 years ago (2014-12-11 13:14:33 UTC) #49
In some sites it written that for such base url issues we need to create new
patch URL.
I have uploaded current changes to new URL:
https://codereview.chromium.org/775893002/

Tried few more things, but not able to change base URL.

Powered by Google App Engine
This is Rietveld 408576698