Comment 1 for bug 10049

Revision history for this message
Matt Zimmerman (mdz) wrote :

I noticed in looking at the merge conflict in fontconfig that Debian has changed
the way they set the default for subpixel rendering. They now do this:

+ if db_fget xserver-xfree86/config/monitor/lcd seen; then
+ if [ "$RET" = true ]; then
+ db_get xserver-xfree86/config/monitor/lcd
+ if [ "$RET" = true ]; then
+ db_set fontconfig/rendering_type "Subpixel rendering (LCD screens)"
+ else
+ db_set fontconfig/rendering_type "Bytecode interpreter (CRT screens)"
+ fi
+ fi
+ fi

what we had been doing in Ubuntu was to set the default based on laptop-detect.
 Is it better to use the xserver-xfree86 config data (or in our case,
xserver-xorg)? Or is laptop-detect a better idea?