https://bugs.documentfoundation.org/show_bug.cgi?id=167511
V Stuart Foote <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |heiko.tietze@documentfounda | |tion.org, [email protected], | |[email protected] See Also| |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=16 | |1766 --- Comment #13 from V Stuart Foote <[email protected]> --- IIANM for VCL we use tools/color IsDark() luminance test, and its negation for IsBright(), to assign the GetReadableFontColor() in the vcl output device outdev/wallpaper.cxx [1] Luminance calculations for bug 161766 in addition to bug 156182 adjusted the thresholds. But not at all clear how the CairoSDPR paths would need to be tweaked to do similar IsDark() color checks for Automatic fg/bg Font contrast when in os/DE reported or user enabled HC assistive technology mode [2]. Note: I think this is mainly a Font fg/bg consideration, but there are other UI elements that can end up "disappearing" into a bg color. Recent Appearance theme work had required coloring for specific elements to receive increased or decreased luminance of an element to make it visible, lacking granular color assignment in VCL. =-ref-= [1] https://opengrok.libreoffice.org/xref/core/vcl/source/outdev/wallpaper.cxx?r=e7143e7acbcc4abf7abd39390601246bc016e2dd&h=25#25 [2] https://opengrok.libreoffice.org/xref/core/vcl/source/window/settings.cxx?r=f0a8b5b81d6be08de6e0d504616a1f09830f7c38#234 -- You are receiving this mail because: You are the assignee for the bug.
