mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
DirectWrite font backend for Windows
This commit is contained in:
parent
d16f312464
commit
db357b0334
9 changed files with 572 additions and 179 deletions
21
components/gfx/platform/windows/font_context.rs
Normal file
21
components/gfx/platform/windows/font_context.rs
Normal file
|
@ -0,0 +1,21 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* 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 heapsize::HeapSizeOf;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct FontContextHandle;
|
||||
|
||||
impl FontContextHandle {
|
||||
// *shrug*
|
||||
pub fn new() -> FontContextHandle {
|
||||
FontContextHandle {}
|
||||
}
|
||||
}
|
||||
|
||||
impl HeapSizeOf for FontContextHandle {
|
||||
fn heap_size_of_children(&self) -> usize {
|
||||
0
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue