Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Oliver Sander
poppler
Commits
9c7adb31
Commit
9c7adb31
authored
Sep 20, 2005
by
Albert Astals Cid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* poppler/UnicodeMap.cc: More grealloc -> greallocn
* poppler/UnicodeTypeTable.cc: Merge from xpdf 3.01
parent
2c4c9b85
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
ChangeLog
ChangeLog
+2
-0
poppler/UnicodeMap.cc
poppler/UnicodeMap.cc
+2
-2
poppler/UnicodeTypeTable.cc
poppler/UnicodeTypeTable.cc
+2
-2
No files found.
ChangeLog
View file @
9c7adb31
2005-09-20 Albert Astals Cid <aacid@kde.org>
* poppler/GlobalParams.[cc|h]: Merge from xpdf 3.01
* poppler/Link.cc: Merge from xpdf 3.01
* poppler/UnicodeMap.cc: More grealloc -> greallocn
* poppler/UnicodeTypeTable.cc: Merge from xpdf 3.01
2005-09-20 Marco Pesenti Gritti <mpg@redhat.com>
...
...
poppler/UnicodeMap.cc
View file @
9c7adb31
...
...
@@ -69,7 +69,7 @@ UnicodeMap *UnicodeMap::parse(GooString *encodingNameA) {
if
(
map
->
len
==
size
)
{
size
*=
2
;
map
->
ranges
=
(
UnicodeMapRange
*
)
grealloc
(
map
->
ranges
,
size
*
sizeof
(
UnicodeMapRange
));
grealloc
n
(
map
->
ranges
,
size
,
sizeof
(
UnicodeMapRange
));
}
range
=
&
map
->
ranges
[
map
->
len
];
sscanf
(
tok1
,
"%x"
,
&
range
->
start
);
...
...
@@ -81,7 +81,7 @@ UnicodeMap *UnicodeMap::parse(GooString *encodingNameA) {
if
(
map
->
eMapsLen
==
eMapsSize
)
{
eMapsSize
+=
16
;
map
->
eMaps
=
(
UnicodeMapExt
*
)
grealloc
(
map
->
eMaps
,
eMapsSize
*
sizeof
(
UnicodeMapExt
));
grealloc
n
(
map
->
eMaps
,
eMapsSize
,
sizeof
(
UnicodeMapExt
));
}
eMap
=
&
map
->
eMaps
[
map
->
eMapsLen
];
sscanf
(
tok1
,
"%x"
,
&
eMap
->
u
);
...
...
poppler/UnicodeTypeTable.cc
View file @
9c7adb31
//========================================================================
//
// Unicode
Map
Table
s
.cc
// Unicode
Type
Table.cc
//
// Copyright 200
3
Glyph & Cog, LLC
// Copyright 200
4
Glyph & Cog, LLC
//
//========================================================================
...
...
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