diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-10-04 20:06:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-04 20:06:29 -0500 |
commit | eb3333eb2f6dbac75ecf23e84cbb12149b3dc969 (patch) | |
tree | d8e13d18da7dca35cb20872fd46e62d88d082eec /components/script/origin.rs | |
parent | 710bd7e1dc8f314399d937e968f160f94143e500 (diff) | |
parent | 08496072396b2b049ff9b676084ec34a9ba94124 (diff) | |
download | servo-eb3333eb2f6dbac75ecf23e84cbb12149b3dc969.tar.gz servo-eb3333eb2f6dbac75ecf23e84cbb12149b3dc969.zip |
Auto merge of #13567 - glennw:win-fonts, r=larsbergstrom
Minimal Win32 font platform implementation.
This uses a (very simple) Win32 API call to enumerate font
families available, and load them as byte buffers.
The font rasterization itself is done by freetype.
This gets Servo + WR + Windows working, but should be improved
by adding a proper implementation that matches fonts correctly
and also uses DirectWrite (or GDI) to handle font rasterization.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13567)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/origin.rs')
0 files changed, 0 insertions, 0 deletions