Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
6b8aa22a
Commit
6b8aa22a
authored
Apr 03, 2008
by
Jason Rumney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(uniscribe_check_otf): Sanity check otf_spec.
parent
cb7d9531
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
src/ChangeLog
src/ChangeLog
+4
-0
src/w32uniscribe.c
src/w32uniscribe.c
+8
-0
No files found.
src/ChangeLog
View file @
6b8aa22a
2008-04-03 Jason Rumney <jasonr@gnu.org>
* w32uniscribe.c (uniscribe_check_otf): Sanity check otf_spec.
2008-04-03 Kenichi Handa <handa@m17n.org>
* coding.c (CATEGORY_MASK_ANY): Add CATEGORY_MASK_UTF_16_AUTO.
...
...
src/w32uniscribe.c
View file @
6b8aa22a
...
...
@@ -564,6 +564,10 @@ int uniscribe_check_otf (font, otf_spec)
DWORD
table
;
int
i
,
retval
=
0
;
/* Check the spec is in the right format. */
if
(
!
CONSP
(
otf_spec
)
||
Flength
(
val
)
<
3
)
return
0
;
/* Break otf_spec into its components. */
script
=
XCAR
(
otf_spec
);
rest
=
XCDR
(
otf_spec
);
...
...
@@ -609,6 +613,10 @@ int uniscribe_check_otf (font, otf_spec)
if
(
NILP
(
features
[
i
]))
continue
;
/* If features is not a cons, this font spec is messed up. */
if
(
!
CONSP
(
features
[
i
]))
goto
no_support
;
/* Read GPOS/GSUB header. */
OTF_INT16_VAL
(
tbl
,
4
,
&
scriptlist_table
);
OTF_INT16_VAL
(
tbl
,
6
,
&
feature_table
);
...
...
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