Added greek extended conversion to Tinos, extended latin and letter-like symbols to base font.

This commit is contained in:
Georgy Litvinov 2020-01-27 09:53:35 +01:00
parent ef9c8d8fff
commit ffbca8cc0a
3 changed files with 8 additions and 4 deletions

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd"> <!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 mark3 <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Clean" script:language="StarBasic">Sub mark4
End Sub End Sub
@ -55,12 +55,13 @@ Private Sub unicodeSymbolsConversion
RAtts(0).Value = newFontName RAtts(0).Value = newFontName
RAtts(1).Value = newFontName RAtts(1).Value = newFontName
RAtts(2).Value = newFontName RAtts(2).Value = newFontName
&apos;Letterlike Symbols 2100—214F
&apos;Extended latin-1 0080—00FF
&apos;Cyrillic unicode block range \u0400-\u04FF &apos;Cyrillic unicode block range \u0400-\u04FF
&apos;Basic Latin \u0020-\u007E &apos;Basic Latin \u0020-\u007E
&apos;Combining diacritical marks 0301 0304 0323 032e 0331 035f &apos;Combining diacritical marks 0301 0304 0323 032e 0331 035f
&apos;General Punctuation \u2000-\u206f &apos;General Punctuation \u2000-\u206f
unicodeConversionEverywhere(&quot;[\u0400-\u04FF,\u0020-\u007E,\u2000-\u206f,\u0301,\u0304,\u0323,\u032e,\u0331,\u035f]+&quot;,RAtts) unicodeConversionEverywhere(&quot;[\u2100-\u214F,\u0080-\u00FF,\u0400-\u04FF,\u0020-\u007E,\u2000-\u206f,\u0301,\u0304,\u0323,\u032e,\u0331,\u035f]+&quot;,RAtts)
&apos;Arabic Scheherazade &apos;Arabic Scheherazade
newFontName = &quot;Scheherazade&quot; newFontName = &quot;Scheherazade&quot;
RAtts(0).Value = newFontName RAtts(0).Value = newFontName
@ -75,6 +76,8 @@ Private Sub unicodeSymbolsConversion
RAtts(2).Value = newFontName RAtts(2).Value = newFontName
&apos;Greek and Coptic &apos;Greek and Coptic
unicodeConversionEverywhere(&quot;[\u0370-\u03FF]+&quot;,RAtts) unicodeConversionEverywhere(&quot;[\u0370-\u03FF]+&quot;,RAtts)
&apos;Greek extended
unicodeConversionEverywhere(&quot;[\u1F00-\u1FFF]+&quot;,RAtts)
&apos;DejaVu Sans Mathematical operators &apos;DejaVu Sans Mathematical operators
newFontName = &quot;DejaVu Sans&quot; newFontName = &quot;DejaVu Sans&quot;
RAtts(0).Value = newFontName RAtts(0).Value = newFontName

View file

@ -3,7 +3,7 @@
xmlns:dep="http://openoffice.org/extensions/description/2006" xmlns:dep="http://openoffice.org/extensions/description/2006"
xmlns:xlink="http://www.w3.org/1999/xlink"> xmlns:xlink="http://www.w3.org/1999/xlink">
<identifier value="pro.litvinovg.Redaction" /> <identifier value="pro.litvinovg.Redaction" />
<version value="0.3.6" /> <version value="0.3.7" />
<platform value="all" /> <platform value="all" />
<display-name> <display-name>
<name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name> <name lang="en">Cleaning and validation documents for publishing in html and epub with pagination</name>

View file

@ -1,3 +1,4 @@
0.3.7 Added greek extended conversion to Tinos, extended latin and letter-like symbols to base font
0.3.6 Added check for null EmbeededObject (13.01.2019) 0.3.6 Added check for null EmbeededObject (13.01.2019)
0.0.1 (18.10.2019) 0.0.1 (18.10.2019)
initial release initial release