DescriptionCreate the document font using normal FontBuilder calls.
FontBuilder::createFontForDocument presumably exists because FontBuilder
used to be dependent on CSSValues and/or because it made an unnecessary
amount of comparisons between FontDescriptions. This is no longer the
case, so we don't need special code for the document font anymore.
This also removes the need the arbitrary-FontDescription versions of some
of the FontBuilder functions, and these have how been folded into their
respective main functions. (setFamilyDescription, setSize,
updateComputedSize).
Also, rename Document::setupFontBuilder to Document::createFont.
R=dglazkov@chromium.org
Patch Set 1 #Patch Set 2 : Rebase. #Patch Set 3 : Recreate patch on new master. #
Messages
Total messages: 1 (0 generated)
|