Conversion for china glyphs
This commit is contained in:
parent
afef3250b1
commit
fbf81e5fdf
1 changed files with 21 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark40
|
||||
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark41
|
||||
|
||||
End Sub
|
||||
|
||||
|
@ -234,7 +234,7 @@ Private Sub unicodeSymbolsConversion
|
|||
'Latin Extended A \u0100-\u017f
|
||||
'\u02bb Modifier Letter Turned Comma is in IPH Astra
|
||||
' unicodeConversionEverywhere("[\u0020-\u007F]+",RAtts)
|
||||
unicodeConversionEverywhere("[\u2100-\u214f\u0020-\u007f\u0080-\u00ff\u0400-\u04ff\u2000-\u206f\u0301\u0304\u0323\u032e\u0331\u0341\u035f\u02bb\u0100-\u017f]+",RAtts)
|
||||
unicodeConversionEverywhere("[\u0020-\u007f\u0080-\u00ff\u0400-\u04ff\u2000-\u206f\u2100-\u214f\u0301\u0304\u0323\u032e\u0331\u0341\u035f\u02bb\u0100-\u017f]+",RAtts)
|
||||
'Arabic Scheherazade
|
||||
'Arabic Presentation Forms-A fb50-fdff
|
||||
'Arabic Presentation Forms-B fe70-feff
|
||||
|
@ -262,6 +262,25 @@ Private Sub unicodeSymbolsConversion
|
|||
'\u2200-\u22FF Mathematical operators
|
||||
unicodeConversionEverywhere("[\u2200-\u22ff]+",RAtts)
|
||||
|
||||
newFontName = "Noto Serif CJK JP Regular"
|
||||
RAtts(0).Value = newFontName
|
||||
RAtts(1).Value = newFontName
|
||||
RAtts(2).Value = newFontName
|
||||
'\u2200-\u22FF CJK Unified Ideographs
|
||||
'3000—303F Символы и пунктуация ККЯ
|
||||
|
||||
unicodeConversionEverywhere("[\u302b\uff00-\uffef]+",RAtts)
|
||||
|
||||
newFontName = "Noto Serif CJK SC Regular"
|
||||
RAtts(0).Value = newFontName
|
||||
RAtts(1).Value = newFontName
|
||||
RAtts(2).Value = newFontName
|
||||
'\u2200-\u22FF CJK Unified Ideographs
|
||||
'\u4e00—\u9fff Унифицированные идеограммы ККЯ
|
||||
'\u3400-\u4db7\u4e00—\u9ff1 Найдены в Noto Sans CJK SC
|
||||
'\u3000-\u302a\u302c-\u303f В Noto Sans CJK SC
|
||||
unicodeConversionEverywhere("[\u3000-\u302a\u302c-\u303f\u3400-\u4db7\u4e00-\u9ff1]+",RAtts)
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub unicodeConversionEverywhere(searchPattern As String,rAtts)
|
||||
|
|
Loading…
Add table
Reference in a new issue