Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
23ddde88
Commit
23ddde88
authored
Aug 19, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Add support for codepage 10004 (Mac Arabic).
parent
4f718ca0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
Makefile.in
libs/wine/Makefile.in
+1
-0
c_10004.c
libs/wine/c_10004.c
+0
-0
cptable.c
libs/wine/cptable.c
+3
-1
make_unicode
tools/make_unicode
+9
-1
No files found.
libs/wine/Makefile.in
View file @
23ddde88
...
...
@@ -13,6 +13,7 @@ C_SRCS = \
c_10001.c
\
c_10002.c
\
c_10003.c
\
c_10004.c
\
c_10006.c
\
c_10007.c
\
c_10008.c
\
...
...
libs/wine/c_10004.c
0 → 100644
View file @
23ddde88
This diff is collapsed.
Click to expand it.
libs/wine/cptable.c
View file @
23ddde88
...
...
@@ -66,6 +66,7 @@ extern union cptable cptable_10000;
extern
union
cptable
cptable_10001
;
extern
union
cptable
cptable_10002
;
extern
union
cptable
cptable_10003
;
extern
union
cptable
cptable_10004
;
extern
union
cptable
cptable_10006
;
extern
union
cptable
cptable_10007
;
extern
union
cptable
cptable_10008
;
...
...
@@ -95,7 +96,7 @@ extern union cptable cptable_28604;
extern
union
cptable
cptable_28605
;
extern
union
cptable
cptable_28606
;
static
const
union
cptable
*
const
cptables
[
7
0
]
=
static
const
union
cptable
*
const
cptables
[
7
1
]
=
{
&
cptable_037
,
&
cptable_424
,
...
...
@@ -139,6 +140,7 @@ static const union cptable * const cptables[70] =
&
cptable_10001
,
&
cptable_10002
,
&
cptable_10003
,
&
cptable_10004
,
&
cptable_10006
,
&
cptable_10007
,
&
cptable_10008
,
...
...
tools/make_unicode
View file @
23ddde88
...
...
@@ -83,6 +83,7 @@ my @allfiles =
[
10001
,
"VENDORS/APPLE/JAPANESE.TXT"
,
0
,
"Mac Japanese"
],
[
10002
,
"VENDORS/APPLE/CHINTRAD.TXT"
,
0
,
"Mac Traditional Chinese"
],
[
10003
,
"VENDORS/APPLE/KOREAN.TXT"
,
0
,
"Mac Korean"
,
0xf8e5
],
[
10004
,
"VENDORS/APPLE/ARABIC.TXT"
,
0
,
"Mac Arabic"
,
0xf826
],
[
10006
,
"VENDORS/MICSFT/MAC/GREEK.TXT"
,
0
,
"Mac Greek"
],
[
10007
,
"VENDORS/MICSFT/MAC/CYRILLIC.TXT"
,
0
,
"Mac Cyrillic"
],
[
10008
,
"VENDORS/APPLE/CHINSIMP.TXT"
,
0
,
"Mac Simplified Chinese"
],
...
...
@@ -561,11 +562,18 @@ sub read_codepage_file($)
next
;
}
# 0x12 <LR>+0x3456
if
(
/^0x([0-9a-fA-F]+)\s+<
[LR]+
>\+0x([0-9a-fA-F]+)\s+(\#.*)?/
)
if
(
/^0x([0-9a-fA-F]+)\s+<
LR
>\+0x([0-9a-fA-F]+)\s+(\#.*)?/
)
{
add_mapping
(
hex
$1
,
hex
$2
);
next
;
}
# 0x12 <RL>+0x3456
if
(
/^0x([0-9a-fA-F]+)\s+<RL>\+0x([0-9a-fA-F]+)\s+(\#.*)?/
)
{
my
$uni
=
hex
$2
;
add_mapping
(
hex
$1
,
$uni
)
if
$uni
>=
0x80
;
next
;
}
die
"$name: Unrecognized line $_\n"
;
}
close
$INPUT
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment