mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Split Au type into separate crate, with minimal dependencies.
This commit is contained in:
parent
fb6d0946cb
commit
339a3f869b
72 changed files with 376 additions and 235 deletions
|
@ -2,6 +2,7 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use app_units::Au;
|
||||
use euclid::{Point2D, Rect, Size2D};
|
||||
use font_template::FontTemplateDescriptor;
|
||||
use platform::font::{FontHandle, FontTable};
|
||||
|
@ -20,7 +21,6 @@ use text::glyph::{GlyphId, GlyphStore};
|
|||
use text::shaping::ShaperMethods;
|
||||
use unicode_script::Script;
|
||||
use util::cache::HashCache;
|
||||
use util::geometry::Au;
|
||||
|
||||
// FontHandle encapsulates access to the platform's font API,
|
||||
// e.g. quartz, FreeType. It provides access to metrics and tables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue