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
emacs
emacs
Commits
e9eee23e
Commit
e9eee23e
authored
Aug 31, 2003
by
Jason Rumney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document last change.
parent
4bc2315e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
src/w32term.c
src/w32term.c
+11
-0
No files found.
src/w32term.c
View file @
e9eee23e
...
...
@@ -896,6 +896,17 @@ w32_per_char_metric (font, char2b, font_type)
xassert
(
font
&&
char2b
);
/* TODO: This function is currently called through the RIF, and in
some cases font_type is UNKNOWN_FONT. We currently allow the
cached metrics to be used, which seems to work, but in cases
where font_type is UNKNOWN_FONT, we probably haven't encoded
char2b appropriately. All callers need checking to see what they
are passing. This is most likely to affect variable width fonts
outside the Latin-1 range, particularly in languages like Thai
that rely on rbearing and lbearing to provide composition. I
don't think that is working currently anyway, but we don't seem
to have anyone testing such languages on Windows. */
/* Handle the common cases quickly. */
if
(
!
font
->
bdf
&&
font
->
per_char
==
NULL
)
/* TODO: determine whether char2b exists in font? */
...
...
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