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
Open sidebar
emacs
emacs
Commits
3090a5a5
Commit
3090a5a5
authored
Oct 23, 2000
by
Jason Rumney
Browse files
(VCENTER_BASELINE_OFFSET): Bias division (see xterm.c comment below).
parent
d98c0337
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
src/ChangeLog
src/ChangeLog
+10
-0
src/w32term.c
src/w32term.c
+1
-1
No files found.
src/ChangeLog
View file @
3090a5a5
2000-10-23 Jason Rumney <jasonr@gnu.org>
* fontset.c (syms_of_fontset) [WINDOWSNT]: Special case for
ASCII font of default fontset on Windows.
* w32term.c (VCENTER_BASELINE_OFFSET): Bias division (see
xterm.c comment below).
* w32fns.c (x_to_w32_font): Initialize dpi from dpyinfo->resy.
2000-10-23 Gerd Moellmann <gerd@gnu.org>
* xterm.c (x_connection_closed): Reset handling_signal.
...
...
src/w32term.c
View file @
3090a5a5
...
...
@@ -1915,7 +1915,7 @@ x_produce_stretch_glyph (it)
#define VCENTER_BASELINE_OFFSET(FONT, F) \
(FONT_DESCENT (FONT) \
+ (FRAME_LINE_HEIGHT ((F)) - FONT_HEIGHT ((FONT))) / 2 \
+ (FRAME_LINE_HEIGHT ((F))
+ 1
- FONT_HEIGHT ((FONT))) / 2 \
- (FONT_DESCENT (FRAME_FONT (F)) - FRAME_BASELINE_OFFSET (F)))
/* Produce glyphs/get display metrics for the display element IT is
...
...
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