Skip to content

Sanitize web fonts - #11649

Closed
talklittle wants to merge 1 commit into
servo:masterfrom
talklittle:sanitize_web_fonts_3030
Closed

talklittle wants to merge 1 commit into
servo:masterfrom
talklittle:sanitize_web_fonts_3030

Conversation

@talklittle

@talklittle talklittle commented Jun 7, 2016 •

Copy link
Copy Markdown
Contributor

Use https://github.com/servo/fontsan to sanitize web fonts. This is essentially a rebase of #7634


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Sanitize web fonts #3030 (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because original PR Sanitise web fonts #7634 didn't require tests

Original author was @kmcallister in 2015


This change is Reviewable

@highfive

highfive commented Jun 7, 2016

Copy link
Copy Markdown

warning Warning warning

  • These commits modify gfx code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 7, 2016
@nox

nox commented Jun 7, 2016

Copy link
Copy Markdown
Contributor

Wow, neat that you rebased that!

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit c9576bb has been approved by nox

@highfive highfive assigned nox and unassigned emilio Jun 7, 2016
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jun 7, 2016
@jdm

jdm commented Jun 7, 2016

Copy link
Copy Markdown
Member

It would be useful to have a test verifying that this behaves as expected. What sort of fonts does fontsan reject?

@nox

nox commented Jun 7, 2016

Copy link
Copy Markdown
Contributor

The OpenType Sanitiser (OTS) parses and serialises OpenType files (OTF, TTF) and WOFF and WOFF2 font files, validating them and sanitising them as it goes.

However, on many platforms the system-level TrueType font renderers have never been part of the attack surface before, and putting them on the front line is a scary proposition... Especially on platforms like Windows, where it's a closed-source blob running with high privilege.

Want to r-, or should I file a followup about grabbing an invalid font from OTS itself and making a test with it?

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit c9576bb with merge b3ccbd2...

bors-servo pushed a commit that referenced this pull request Jun 7, 2016
Sanitize web fonts

<!-- Please describe your changes on the following line: -->
Use https://github.com/servo/fontsan to sanitize web fonts. This is essentially a rebase of #7634

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #3030 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because original PR #7634 didn't require tests

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Original author was @kmcallister in 2015

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11649)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jun 7, 2016
@jdm

jdm commented Jun 7, 2016

Copy link
Copy Markdown
Member

I think it would make sense to add the test before merging this.

@nox

nox commented Jun 7, 2016

Copy link
Copy Markdown
Contributor

Ok. Anyway there seems to be some build issues.

@nox nox added C-needs-test An automated test is required. S-needs-tests New tests have been requested by a reviewer. labels Jun 7, 2016
@jdm jdm removed the C-needs-test An automated test is required. label Jun 7, 2016
bors-servo pushed a commit to servo/saltfs that referenced this pull request Jun 8, 2016
@talklittle

Copy link
Copy Markdown
Contributor Author

Difficult to Google for malicious fonts for testing.

How to Test OTS:

For details, please check http://code.google.com/p/chromium/issues/detail?id=27139#c2. Currently access to the issue is limited to chromium-security team members for security reasons.

Any Servo members have contacts on the chromium-security team?

If hypothetically we added a test for this, I also don't know of a way of packaging the test (especially the malicious font file) into the Servo repo that would make sense.

Anyway, the OSX build issue is fixed.

@jdm

jdm commented Jun 10, 2016

Copy link
Copy Markdown
Member

That's pretty reasonable! Let's go ahead and merge this :)

@jdm

jdm commented Jun 10, 2016

Copy link
Copy Markdown
Member

@bors-servo: r=nox

@bors-servo

Copy link
Copy Markdown
Contributor

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
  • There's another pull request that is currently being tested, blocking this pull request: Make fetch happen #11556

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit c9576bb has been approved by nox

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Jun 10, 2016
@highfive highfive added the S-needs-rebase There are merge conflict errors. label Jun 10, 2016
@talklittle
talklittle force-pushed the sanitize_web_fonts_3030 branch from c9576bb to df927fb Compare July 2, 2016 19:27
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Jul 2, 2016
@talklittle

Copy link
Copy Markdown
Contributor Author

@nox I believe this should be good to try again

@KiChjang

KiChjang commented Jul 6, 2016

Copy link
Copy Markdown
Contributor

@bors-servo r=nox

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit df927fb has been approved by nox

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-rebase There are merge conflict errors. labels Jul 6, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit df927fb with merge 8fcb0f7...

bors-servo pushed a commit that referenced this pull request Jul 6, 2016
Sanitize web fonts

<!-- Please describe your changes on the following line: -->
Use https://github.com/servo/fontsan to sanitize web fonts. This is essentially a rebase of #7634

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #3030 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because original PR #7634 didn't require tests

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Original author was @kmcallister in 2015

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11649)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - mac-rel-wpt

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Jul 6, 2016
@jdm

jdm commented Jul 6, 2016 •

Copy link
Copy Markdown
Member

Beyond the same freetype error as before:

error: failed to run custom build command for `fontsan v0.1.0 (https://github.com/servo/fontsan#859c1909)`
Process didn't exit successfully: `/Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/fontsan-50645a66e5419388/build-script-build` (exit code: 101)
--- stderr
+ fake_zlib=/Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/fontsan-50645a66e5419388/out/fake-zlib-install
+ mkdir -p /Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/fontsan-50645a66e5419388/out/fake-zlib-install/include /Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/fontsan-50645a66e5419388/out/fake-zlib-install/lib
+ cp /Users/servo/.cargo/git/checkouts/fontsan-75864180be477bc9/master/src/fake-zlib.h /Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/fontsan-50645a66e5419388/out/fake-zlib-install/include/zlib.h
+ cp /Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/miniz-sys-60c8d67696f63a43/out/libminiz.a /Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/fontsan-50645a66e5419388/out/fake-zlib-install/lib/libz.a
+ LDFLAGS='-L /Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/fontsan-50645a66e5419388/out/fake-zlib-install/lib'
+ '[' x86_64-apple-darwin '!=' x86_64-apple-darwin ']'
+ CXX=g++
+ CC=gcc
+ AR=ar
+ cd ots/
+ git submodule update --init --recursive
+ which autoreconf
+ autoreconf --force --install --verbose
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
+ FLAGS='-fPIC -include /Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/fontsan-50645a66e5419388/out/fake-zlib-install/include/zlib.h'
+ '[' false = true ']'
+ FLAGS='-fPIC -include /Users/servo/buildbot/slave/mac-rel-wpt/build/target/release/build/fontsan-50645a66e5419388/out/fake-zlib-install/include/zlib.h -O2'
+ '[' -n '' ']'
++ pkg-config --cflags freetype2
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
+ FREETYPE_CFLAGS=
thread 'main' panicked at 'assertion failed: Command::new("./scripts/build-ots.sh").status().unwrap().success()', /Users/servo/.cargo/git/checkouts/fontsan-75864180be477bc9/master/build.rs:9
stack backtrace:
   1:        0x1020db8bb - std::sys::backtrace::tracing::imp::write::h6528da8103c51ab9
   2:        0x1020e1d9a - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::hbe741a5cc3c49508
   3:        0x1020e19ca - std::panicking::default_hook::he0146e6a74621cb4
   4:        0x1020cf998 - std::panicking::rust_panic_with_hook::h983af77c1a2e581b
   5:        0x1020c0ca7 - std::panicking::begin_panic::h0bf39f6d43ab9349
   6:        0x1020bf3d1 - build_script_build::main::he5071e1b00fcfe0e
   7:        0x1020e15ad - std::panicking::try::call::h852b0d5f2eec25e4
   8:        0x1020e4aab - __rust_try
   9:        0x1020e4a45 - __rust_maybe_catch_panic
  10:        0x1020e13d1 - std::rt::lang_start::hfe4efe1fc39e4a30
  11:        0x1020c3d89 - main

This also failed on Windows:

error: failed to run custom build command for `fontsan v0.1.0 (https://github.com/servo/fontsan#859c1909)`
Process didn't exit successfully: `C:/buildbot/slave/windows/build/target\debug\build\fontsan-50645a66e5419388\build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 193, message: "%1 is not a valid Win32 application." } }', ../src/libcore\result.rs:785
stack backtrace:
   0:           0x47586c - <unknown>
   1:           0x474d83 - <unknown>
   2:           0x439d24 - <unknown>
   3:           0x476925 - <unknown>
   4:           0x43bc75 - <unknown>
   5:           0x47658c - <unknown>
   6:           0x4897f5 - <unknown>
   7:           0x401b89 - <unknown>
   8:           0x4019e5 - <unknown>
   9:           0x401556 - <unknown>
  10:           0x4743ec - <unknown>
  11:           0x484928 - <unknown>
  12:           0x4741e4 - <unknown>
  13:           0x40540a - <unknown>
  14:           0x4013b4 - <unknown>
  15:           0x4014e7 - <unknown>
  16:      0x7feab651841 - <unknown>

and build-cef on mac and linux:

note: duplicate symbol _RustOTS_Process in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(ots_glue.o)
duplicate symbol _mz_zip_reader_is_file_a_directory in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_write_image_to_png_file_in_memory in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_write_image_to_png_file_in_memory_ex in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_add_mem_ex in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_compress_mem_to_output in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_init in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_init in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_init in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_inflateInit in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_deflateInit in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_deflateReset in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_file_stat in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_get_prev_return_status in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_uncompress in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tinfl_decompress in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_compress in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_compress in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_create_comp_flags_from_zip_params in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_get_num_files in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_error in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_compress_buffer in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_add_from_zip_reader in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_init_from_reader in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_init_heap in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_to_heap in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tinfl_decompress_mem_to_heap in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_compress_mem_to_heap in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_file_to_heap in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_extract_archive_file_to_heap in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_version in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_init_mem in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_to_mem in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tinfl_decompress_mem_to_mem in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_compress_mem_to_mem in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_file_to_mem in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_add_mem in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_to_callback in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tinfl_decompress_mem_to_callback in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_file_to_callback in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_finalize_heap_archive in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_finalize_archive in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_inflate in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_deflate in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_get_filename in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_init_file in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_init_file in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_to_file in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_file_to_file in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_locate_file in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_add_file in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_free in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tinfl_decompressor_free in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_compressor_free in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_add_mem_to_archive_file_in_place in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_compressBound in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_deflateBound in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_writer_end in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_end in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_inflateEnd in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_deflateEnd in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_is_file_encrypted in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tinfl_decompressor_alloc in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_compressor_alloc in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_to_mem_no_alloc in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_zip_reader_extract_file_to_mem_no_alloc in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_inflateInit2 in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_deflateInit2 in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_compress2 in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_adler32 in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _tdefl_get_adler32 in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
duplicate symbol _mz_crc32 in:
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libfontsan-53b20b1c86b31e45.rlib(miniz.o)
    /var/folders/ph/__1w3jq91ws48mzxgrjs1jmm0000gp/T/rustc.Ct1wYMGnpnJV/libminiz_sys-722889de4af2439c.rlib(miniz.o)
ld: 72 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #12432) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added the S-needs-rebase There are merge conflict errors. label Jul 13, 2016
Original author was
Keegan McAllister <[email protected]>
in stale May 2015 branch (servoGH-7634).

This commit is rebased to current servo master and
accounts for the async loading of web fonts.
@talklittle
talklittle force-pushed the sanitize_web_fonts_3030 branch from df927fb to 49ebfe9 Compare July 15, 2016 19:29
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Jul 15, 2016
@nox nox removed the S-needs-rebase There are merge conflict errors. label Aug 1, 2016
@nox

nox commented Aug 1, 2016

Copy link
Copy Markdown
Contributor

@larsbergstrom Think you could take a look at the Windows failure?

bors-servo pushed a commit to servo/fontsan that referenced this pull request Aug 18, 2016
Build OTS with CMake

This is a crude attempt to use CMake to build OTS, which should hopefully help unbreak servo/servo#11649. I appreciate any feedback since I’m neither familiar with rust build system nor CMake.

I also took the opportunity to update OTS to the latest version (which made it easier to just copy the file lists from upstream Makefile.am).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/fontsan/11)
<!-- Reviewable:end -->
@metajack

Copy link
Copy Markdown
Collaborator

@nox The fontsan PR is merged, so we should be able to publish and retry this one.

@nox

nox commented Aug 19, 2016

Copy link
Copy Markdown
Contributor

Superseded by #12938, thanks for your contribution!

@nox nox closed this Aug 19, 2016
aphrody-dev pushed a commit to aphrody-labs/browser that referenced this pull request Nov 16, 2026
Build OTS with CMake

This is a crude attempt to use CMake to build OTS, which should hopefully help unbreak servo/servo#11649. I appreciate any feedback since I’m neither familiar with rust build system nor CMake.

I also took the opportunity to update OTS to the latest version (which made it easier to just copy the file lists from upstream Makefile.am).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/fontsan/11)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sanitize web fonts

8 participants