Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
pango
Commits
5087dc43
Commit
5087dc43
authored
Nov 19, 2021
by
Matthias Clasen
Browse files
pango-view: Fix display of char extents
parent
497be71c
Pipeline
#334627
failed with stages
in 7 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
utils/viewer-pangocairo.c
View file @
5087dc43
...
...
@@ -424,7 +424,7 @@ render_callback (PangoLayout *layout,
{
PangoRectangle
rect
;
pango_layout_iter_get_c
luste
r_extents
(
iter
,
NULL
,
&
rect
);
pango_layout_iter_get_c
ha
r_extents
(
iter
,
&
rect
);
cairo_rectangle
(
cr
,
(
double
)
rect
.
x
/
PANGO_SCALE
-
lw
/
2
,
(
double
)
rect
.
y
/
PANGO_SCALE
-
lw
/
2
,
...
...
Write
Preview
Supports
Markdown
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