Fixing hinting bug
parent
d2e99d5bf6
commit
e608e21d01
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue