Wine, font smoothing, OpenSUSE 42.

Hi!!!

I have install 42, and very surprised what font in wine is vary bad…

How I can get a view of the font in wine on OpenSUSE like view of font in wine on Ubuntu?

That I have to do?

On Sat 10 Oct 2015 01:26:01 PM CDT, galliley89 wrote:

That I have to do?

Hi
I’m guessing it’s missing the ms core fonts, have you tried winetricks?
http://wiki.winehq.org/winetricks


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 | GNOME 3.10.1 | 3.12.44-52.18-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Thanks!

I do that, but it is not solved trouble.

Here’s what I found a while ago, wife says it improved stuff a lot.

Create a file ‘winefontsmoothing’

Put the script below in it


#!/bin/sh
# Quick and dirty script for configuring wine font smoothing
#
# Author: Igor Tarasov <tarasov.igor@gmail.com>


WINE=${WINE:-wine}
WINEPREFIX=${WINEPREFIX:-$HOME/.wine}
DIALOG=whiptail


if  ! -x "`which "$WINE"`" ]
then
    echo "Wine was not found. Is it really installed? ($WINE)"
    exit 1
fi


if  ! -x "`which "$DIALOG"`" ]
then
    DIALOG=dialog
fi


TMPFILE=`mktemp` || exit 1


$DIALOG --menu \
    "Please select font smoothing mode for wine programs:" 13 51\
    4\
        1 "Smoothing disabled"\
        2 "Grayscale smoothing"\
        3 "Subpixel smoothing (ClearType) RGB"\
        4 "Subpixel smoothing (ClearType) BGR" 2> $TMPFILE


STATUS=$?
ANSWER=`cat $TMPFILE`


if  $STATUS != 0 ]
then 
    rm -f $TMPFILE
    exit 1
fi


MODE=0 # 0 = disabled; 2 = enabled
TYPE=0 # 1 = regular;  2 = subpixel
ORIENTATION=1 # 0 = BGR; 1 = RGB


case $ANSWER in
    1) # disable
        ;;
    2) # enable
        MODE=2
        TYPE=1
        ;;
    3) # enable cleartype rgb
        MODE=2
        TYPE=2
        ;;
    4) # enable cleartype bgr
        MODE=2
        TYPE=2
        ORIENTATION=0
        ;;
    *)
        rm -f $TMPFILE
        echo Unexpected option: $ANSWER
        exit 1
        ;;
esac


echo "REGEDIT4


[HKEY_CURRENT_USER\Control Panel\Desktop]
\"FontSmoothing\"=\"$MODE\"
\"FontSmoothingOrientation\"=dword:0000000$ORIENTATION
\"FontSmoothingType\"=dword:0000000$TYPE
\"FontSmoothingGamma\"=dword:00000578" > $TMPFILE


echo -n "Updating configuration... "


$WINE regedit $TMPFILE 2> /dev/null


rm -f $TMPFILE


echo ok

Save the file in in /home/YOUR_USERNAME_HERE/bin

Now open a terminal window and do


chmod 755 ~/bin/winefontsmoothing && winefontsmoothing

From what I read at the time I did this should work, but there were comments around where people added more registry keys to improve stuff for their specific hardware.
If you’re using a patched wine version package, you may have to change the WINEPREFIX in the script.

Thank You, I do that, but nothing change…

Then launch winecfg and change video->screen resolution more then 148 (149 and more), windows app looks good (with smoothing), but text looks big…

I have the same problem: no font anti-aliasing at all!. Maybe someone disabled some options during compiling to avoid some patent issues?

Hi
Please start a new thread, this is a one year old thread… select your openSUSE release in the prefix, link back to this thread if you like. Add your desktop environment, wine details etc.

Thread closed.