Am Samstag, den 10.03.2018, 19:59 +0100 schrieb Uwe Stöhr:
> +       if (name == "PTSans") {
> +               h_font_sans[0] = "PTSans-TLF";
> +               if (options.size() >= 1) {
> +                       if (scale_as_percentage(opts,
> h_font_sf_scale[0]))
> +                               options.clear();
> +               }
> +       }
> +

Uwe, is this test really necessary? Isn't this caught be the more
general test above?

        if (is_known(name, known_sans_fonts)) {
                h_font_sans[0] = name;
                if (options.size() >= 1) {
                        if (scale_as_percentage(opts,
h_font_sf_scale[0]))
                                options.clear();
                }
        }

Jürgen

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to