Fix GetFontWeightFromNSFont()
GetFontWeightFromNSFont() uses a table of CoreText float values to look up corresponding Font::Weight values. The testing of the float values was broken; fix it. Bug: 1112998 Change-Id: Ia3346c2964e3c74cb855b701227a662aa281de8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2337734Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/master@{#795061}
Showing
Please register or sign in to comment