Fixing hinting bug
This commit is contained in:
@@ -11,7 +11,7 @@ module Squib
|
|||||||
w = layout.extents[1].width / Pango::SCALE if w < 0
|
w = layout.extents[1].width / Pango::SCALE if w < 0
|
||||||
h = layout.height / Pango::SCALE
|
h = layout.height / Pango::SCALE
|
||||||
h = layout.extents[1].height / Pango::SCALE if h < 0
|
h = layout.extents[1].height / Pango::SCALE if h < 0
|
||||||
draw_rectangle(x,y,w,h,0,0,color)
|
draw_rectangle(x,y,w,h,0,0,'#0000',color, 2.0)
|
||||||
end
|
end
|
||||||
|
|
||||||
def ellipsize(layout, options)
|
def ellipsize(layout, options)
|
||||||
|
|||||||
Reference in New Issue
Block a user