Cairo で描画
fo.antialias = :grayしてるのにサブピクセルレンダリングされているのはなんでだろ。というか :none にしてもなるし、無視されてる。pango のほうにオプションがあるんだろうか。
layout = context.create_pango_layout layout.context.set_font_options(fo)
fo.antialias = :grayしてるのにサブピクセルレンダリングされているのはなんでだろ。というか :none にしてもなるし、無視されてる。pango のほうにオプションがあるんだろうか。
layout = context.create_pango_layout layout.context.set_font_options(fo)
hex = color.to_color(Magick::ComplianceType::AllCompliance, false, 8)test.rb:18:in `to_color': wrong enumeration type - expected Magick::ComplianceType, got Magick::AnchorType (TypeError)
from test.rb:18