[Bf-committers] UI: Allowing for font-DPI values lower than 72

Xavier Thomas xavier.thomas.1980 at gmail.com
Tue Feb 22 17:29:18 CET 2011


Actually you can set the DPI value to your real screen DPI and changes fonts
size in the outliner (display_mode == "User preferences" in "Styles")


2011/2/22 Martin Voigt <voigt.m at googlemail.com>

> When setting the font-DPI in the user preferences, the change is
> discarded at the next start of Blender when the value is below 72.
> Since setting the DPI is (afaik) the only way to change the font size
> of the interface, allowing values lower than 72 would be a good thing.
> At the moment I'm doing it this way:
>
>
> diff --recursive '--exclude=.*'
> blender-svn/source/blender/editors/interface/interface_style.c
> blender-git/source/blender/editors/interface/interface_style.c
> 289c289
> <       CLAMP(U.dpi, 72, 240);
> ---
> >       CLAMP(U.dpi, 60, 240);
>
>
> I'm not sure this is the right way, but allowing for lower DPI values
> should be an option.
>
> bw,
> Martin
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list