In the Maxima plugin this is supported. Note that you have to provide at least one draw object for the user_preamble option to take effect. Switching the format from png to svg or pdf in the settings menu (access via double click) produces better text quality.