# File lib/pdf/writer.rb, line 2741 2741: def [](pdf, info) 2742: @foreground ||= DEFAULT_FOREGROUND 2743: @background ||= DEFAULT_BACKGROUND 2744: 2745: desc = info[:descender].abs 2746: xpos = info[:x] - (desc * 2.00) 2747: ypos = info[:y] + (desc * 1.05) 2748: 2749: ss = StrokeStyle.new(desc) 2750: ss.cap = :butt 2751: ss.join = :miter 2752: pdf.stroke_style! ss 2753: pdf.stroke_color @foreground 2754: pdf.circle_at(xpos, ypos, 1).stroke 2755: pdf.stroke_color @background 2756: pdf.circle_at(xpos, ypos, 0.5).stroke 2757: end