use readonly version of Pango function
This commit is contained in:
parent
03aee62647
commit
4e8f51741e
|
@ -1348,7 +1348,7 @@
|
|||
(let ([bl (- flh ld)])
|
||||
(align-y/delta (+ y bl) 0)))
|
||||
;; Here's the draw command, which uses most of the time in this mode:
|
||||
(pango_cairo_show_layout_line cr (pango_layout_get_line layout 0)))
|
||||
(pango_cairo_show_layout_line cr (pango_layout_get_line_readonly layout 0)))
|
||||
(values (if blank? 0.0 (+ w lw)) (max h lh) (max d ld) (max a la))))))
|
||||
(when rotate? (cairo_restore cr))))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user