DescriptionUnify desktop Linux and Chrome OS font rendering params.
Use the same path to get font rendering settings on desktop
Linux and Chrome OS: query the LinuxFontDelegate if it's set
and then query Fontconfig.
Also make the LinuxFontDelegate interface return a
PangoFontDescription directly (as opposed to an opaque
string that's actually a stringified PangoFontDescription)
and make it return a cached FontRenderParams struct instead
of exposing separate methods for looking up individual
properties.
Finally, add a missing build dependency on ui_test_pak, which
is needed to get the default font resource when running
gfx_unittests on Chrome OS.
BUG=125235, 393067
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284255
Patch Set 1 #Patch Set 2 : handle NULL strings in helper functions #Patch Set 3 : inline params init, enable tests for cros, and add missing ui_test_pak dependency #Patch Set 4 : update some comments #
Total comments: 13
Patch Set 5 : merge and apply review feedback #
Total comments: 2
Patch Set 6 : make ScopedPangoFontDescription accept a string #
Total comments: 2
Patch Set 7 : use initializer list #
Messages
Total messages: 11 (0 generated)
|