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?
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 xfree86/ config/ monitor/ lcd rendering_ type "Subpixel rendering (LCD screens)" rendering_ type "Bytecode interpreter (CRT screens)"
+ if [ "$RET" = true ]; then
+ db_get xserver-
+ if [ "$RET" = true ]; then
+ db_set fontconfig/
+ else
+ db_set fontconfig/
+ 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?