# File lib/rvg/misc.rb, line 600
                def font_weight(weight)
                    # If the arg is not in the hash use it directly. Handles numeric values.
                    weight = FONT_WEIGHT.fetch(weight) {|key| key}
                    @gc.font_weight(weight)
                    @shadow[-1].font_weight = weight
                    nil
                end