LigaturesEnabled flag is never set
Change-Id: Id4a4631ff7c69aa01deddd2b88626ff83fd5e7b1 Reviewed-on: https://gerrit.libreoffice.org/34151 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
This commit is contained in:
@@ -66,11 +66,10 @@ enum class ComplexTextLayoutFlags
|
||||
BiDiRtl = 0x0001,
|
||||
BiDiStrong = 0x0002,
|
||||
TextOriginLeft = 0x0004,
|
||||
TextOriginRight = 0x0008,
|
||||
LigaturesEnabled = 0x0200
|
||||
TextOriginRight = 0x0008
|
||||
};
|
||||
namespace o3tl {
|
||||
template<> struct typed_flags<ComplexTextLayoutFlags> : is_typed_flags<ComplexTextLayoutFlags, 0x020f> {};
|
||||
template<> struct typed_flags<ComplexTextLayoutFlags> : is_typed_flags<ComplexTextLayoutFlags, 0x000f> {};
|
||||
}
|
||||
|
||||
class OutDevState
|
||||
|
@@ -1186,9 +1186,6 @@ ImplLayoutArgs OutputDevice::ImplPrepareLayoutArgs( OUString& rStr,
|
||||
if( maFont.IsVertical() )
|
||||
nLayoutFlags |= SalLayoutFlags::Vertical;
|
||||
|
||||
if( mnTextLayoutMode & ComplexTextLayoutFlags::LigaturesEnabled )
|
||||
nLayoutFlags |= SalLayoutFlags::EnableLigatures;
|
||||
|
||||
if( meTextLanguage ) //TODO: (mnTextLayoutMode & ComplexTextLayoutFlags::SubstituteDigits)
|
||||
{
|
||||
// disable character localization when no digits used
|
||||
|
Reference in New Issue
Block a user