https://bugs.freedesktop.org/show_bug.cgi?id=54493

--- Comment #3 from Caolán McNamara <[email protected]> ---
This looks great to me, are you still working on this or are you stuck ?

IMO it just needs an ifdef WNT around the body (and a break after the
isInstalled = true; because we only need to know if one is installed) and then
just to use this as an extra || condition in the places that look for some
evidence that CJK and CTL would be a good idea to default enable on, e.g. turn
http://opengrok.libreoffice.org/xref/core/svl/source/config/cjkoptions.cxx#201
into something like...

    204     sal_uInt16 nScriptType =
SvtLanguageOptions::GetScriptTypeOfLanguage(LANGUAGE_SYSTEM);
    205     if ( !bCJKFont && (
aSystemLocaleSettings.isCJKKeyboardLayoutInstalled() || ( nScriptType &
SCRIPTTYPE_ASIAN ) ||
    206              ((eSystemLanguage != LANGUAGE_SYSTEM)  && ( nWinScript &
SCRIPTTYPE_ASIAN ))))
    207     {
    208         SetAll(sal_True);
    209     }

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to