mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Introduce a FamilyName type, like FontFamily but not a generic family.
This commit is contained in:
parent
44f6c60d91
commit
52aa2431a9
3 changed files with 35 additions and 15 deletions
|
@ -944,7 +944,7 @@ fn static_assert() {
|
|||
for family in &v.0 {
|
||||
match *family {
|
||||
FontFamily::FamilyName(ref name) => {
|
||||
unsafe { Gecko_FontFamilyList_AppendNamed(list, name.as_ptr()); }
|
||||
unsafe { Gecko_FontFamilyList_AppendNamed(list, name.0.as_ptr()); }
|
||||
}
|
||||
FontFamily::Generic(ref name) => {
|
||||
let family_type =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue