layout: Implement text-rendering per SVG 1.1 § 11.7.4.

Like Gecko, we treat `geometricprecision` the same as
`optimizelegibility` for now.
This commit is contained in:
Patrick Walton 2015-01-01 10:55:25 -05:00
parent 112ab49706
commit 53b74ae853
5 changed files with 60 additions and 10 deletions

View file

@ -105,7 +105,9 @@ bitflags! {
#[doc="Set if the text is entirely whitespace."]
const IS_WHITESPACE_SHAPING_FLAG = 0x01,
#[doc="Set if we are to ignore ligatures."]
const IGNORE_LIGATURES_SHAPING_FLAG = 0x02
const IGNORE_LIGATURES_SHAPING_FLAG = 0x02,
#[doc="Set if we are to disable kerning."]
const DISABLE_KERNING_SHAPING_FLAG = 0x04
}
}