Hi Paul,
How can I convince OpenOffice that my Tifinagh text should behave
like Japanese, with the letters running downwards but not rotated? (I
know some substitutions will be needed in the OpenType font, such as
for parentheses). Note: There's no locale for my
script/language combination yet in Linux or Windows, so it's usually
typed as if it were French.
Please see the method GetVerticalFlags() in
http://hg.services.openoffice.org/DEV300/file/DEV300_m87/vcl/source/gdi/sallayout.cxx#l125
You probably want to apply the patch below:
--- vcl/source/gdi/sallayout.cxx
+++ vcl/source/gdi/sallayout.cxx
@@ -126,6 +126,7 @@ int GetVerticalFlags( sal_UCS4 nChar )
{
if( (nChar >= 0x1100 && nChar <= 0x11f9) // Hangul Jamo
|| (nChar == 0x2030 || nChar == 0x2031) // per mille sign
+ || (nChar >= 0x2D30 && nChar <= 0x2D7F) // Tifinagh
|| (nChar >= 0x3000 && nChar <= 0xfaff) // unified CJK
|| (nChar >= 0xfe20 && nChar <= 0xfe6f) // CJK compatibility
|| (nChar >= 0xff00 && nChar <= 0xfffd) ) // other CJK
If it works as expected please file an issue to OOo's GSL project and
assign it to me (hdu).
--
Herbert
ORACLE Deutschland B.V.& Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]