When calling PDF::Inspector::Text#font_settings, it returns an array of objects with font name and size. I’d like to add the color of the text as well. From looking at the code, it seems these attributes are set here:
def set_text_font_and_size(*params)
@state.set_text_font_and_size(*params)
@font_settings << { name: @fonts[params[0]], size: params[1] }
end
If you agree that this would be a good addition, could you please advise on where to start in order to add this parameter?, I’d be happy to collaborate on a PR for this feature.