rpms/openoffice.org/devel openoffice.org.2.0.4.ooo80412.i18npool.extendgrapheme.patch, NONE, 1.1

Jan Navrátil (jnavrati) fedora-extras-commits at redhat.com
Tue Aug 7 11:55:27 UTC 2007


Author: jnavrati

Update of /cvs/pkgs/rpms/openoffice.org/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26480

Added Files:
	openoffice.org.2.0.4.ooo80412.i18npool.extendgrapheme.patch 
Log Message:
updated id

openoffice.org.2.0.4.ooo80412.i18npool.extendgrapheme.patch:

--- NEW FILE openoffice.org.2.0.4.ooo80412.i18npool.extendgrapheme.patch ---
--- /dev/null	2006-10-27 08:30:37.620506410 +0100
+++ OOD680_m4/i18npool/source/breakiterator/data/char.txt	2006-10-31 16:33:17.000000000 +0000
@@ -0,0 +1,65 @@
+#
+#   Copyright (C) 2002-2006, International Business Machines Corporation and others.
+#       All Rights Reserved.
+#
+#   file:  char.txt 
+#
+#   ICU Character Break Rules, also known as Grapheme Cluster Boundaries
+#      See Unicode Standard Annex #29.
+#      These rules are based on TR29 Version 5.0.0
+#        Includes post-5.0 change to treat Japanese half width voicing marks
+#        as Grapheme Extend.
+#
+
+#
+#  Character Class Definitions.
+#
+$CR      = [\p{Grapheme_Cluster_Break = CR}];
+$LF      = [\p{Grapheme_Cluster_Break = LF}];
+$Control = [\p{Grapheme_Cluster_Break = Control}];
+
+# add Japanese Half Width voicing marks to $Extend
+$VoiceMarks = [\uff9e\uff9f]; 
+$cmcextend = [\u0903 \u093e-\u0940 \u0949-\u094C \u09bf-\u09c0 \u09c7-\u09c8 \u09cb-\u09cc \u0c01-\u0c03 \u0c41-\u0c44];
+$Extend  = [\p{Grapheme_Cluster_Break = Extend} $VoiceMarks $cmcextend];
+
+#
+# Korean Syllable Definitions
+#
+$L       = [\p{Grapheme_Cluster_Break = L}];
+$V       = [\p{Grapheme_Cluster_Break = V}];
+$T       = [\p{Grapheme_Cluster_Break = T}];
+
+$LV      = [\p{Grapheme_Cluster_Break = LV}];
+$LVT     = [\p{Grapheme_Cluster_Break = LVT}];
+
+$HangulSyllable = $L+ | ($L* ($LV? $V+ | $LV | $LVT) $T*) | $T+;
+
+## -------------------------------------------------
+
+!!forward;
+
+$CR $LF;
+([^$Control $CR $LF] | $HangulSyllable) $Extend*;
+
+## -------------------------------------------------
+
+!!reverse;
+
+$BackHangulSyllable = $L+ | ($T* ($V+$LV? | $LV | $LVT) $L*) | $T+;
+$BackOneCluster = ($LF $CR) | ($Extend* ([^$Control $CR $LF] | $BackHangulSyllable));
+$BackOneCluster;
+
+## -------------------------------------------------
+
+!!safe_reverse;
+
+# rule 6, 7, 8
+$V+ $L;
+
+## -------------------------------------------------
+
+!!safe_forward;
+
+# rule 6, 7, 8
+$V+ $T;




More information about the fedora-extras-commits mailing list