Re: lt_string_value assertion and MS x-none languagetag (was: testVerticallyMergedCellBorder failing on some systems)

2021-07-13 Thread Miklos Vajna
Hi Eike,

On Mon, Jul 12, 2021 at 03:13:52PM +0200, Eike Rathke  wrote:
> 
> 
> Breaking in LanguageTag implementation revealed that it's passed to
> writerfilter/source/dmapper/ThemeTable.cxx
> ThemeTable::setThemeFontLangProperties()
> the PropertyValue aPropSeq contains
> eastAsia = "x-none"
> bidi = "x-none"
> 
> So apparently this private use languagetag is not so privately used by
> MS-Word and escapes to the outer world. Am I guessing right that it
> denotes the absence of Asian and CTL font features?

Interestingly if I now re-save that document in Word, the problematic
attributes disappear.

So this is likely output from an older Word version, today Word either
writes a valid value for w:eastAsia"..." and w:bidi="..." or omits these
attributes, which means "determine it automatically".

17.15.1.88 themeFontLang (Theme Font Languages) in the OOXML spec
documents this, it does not say what would be the meaning of x-none in
this context.

Regards,

Miklos
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: lt_string_value assertion and MS x-none languagetag

2021-07-12 Thread tseho315


Ho

> Eike Rathke  於 2021年7月12日 23:29 寫道:
> 
> Hi,
> 
>> On Monday, 2021-07-12 15:13:52 +0200, Eike Rathke wrote:
>> 
>> document contains it in ./word/settings.xml as
>> 
> 
> There exists even a bug for such
> https://bugs.documentfoundation.org/show_bug.cgi?id=123466
> in which, even worse, MS uses 'x-none' in ./word/styles.xml
> 
>  Eike
> 
> -- 
> GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 
> 2D3A
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: lt_string_value assertion and MS x-none languagetag

2021-07-12 Thread Eike Rathke
Hi,

On Monday, 2021-07-12 15:13:52 +0200, Eike Rathke wrote:

> document contains it in ./word/settings.xml as
> 

There exists even a bug for such
https://bugs.documentfoundation.org/show_bug.cgi?id=123466
in which, even worse, MS uses 'x-none' in ./word/styles.xml

  Eike

-- 
GPG key 0x6A6CD5B765632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A


signature.asc
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice