Results 1 to 9 of 9

Thread: Wine, font smoothing, OpenSUSE 42.

  1. #1
    Join Date
    Nov 2013
    Location
    Russia, Altay state, Barnaul
    Posts
    0

    Question 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?

  2. #2
    Join Date
    Nov 2013
    Location
    Russia, Altay state, Barnaul
    Posts
    0

    Default Re: Wine, font smoothing, OpenSUSE 42.

    That I have to do?

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,240
    Blog Entries
    15

    Default Re: Wine, font smoothing, OpenSUSE 42.

    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!


  4. #4
    Join Date
    Nov 2013
    Location
    Russia, Altay state, Barnaul
    Posts
    0

    Default Re: Wine, font smoothing, OpenSUSE 42.

    Quote Originally Posted by malcolmlewis View Post
    Hi
    I'm guessing it's missing the ms core fonts, have you tried winetricks?
    http://wiki.winehq.org/winetricks
    Thanks!

    I do that, but it is not solved trouble.

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,051
    Blog Entries
    14

    Default Re: Wine, font smoothing, OpenSUSE 42.

    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
    Code:
    #!/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
    Code:
    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.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Nov 2013
    Location
    Russia, Altay state, Barnaul
    Posts
    0

    Default Re: Wine, font smoothing, OpenSUSE 42.

    Quote Originally Posted by Knurpht View Post
    ...
    Create a file 'winefontsmoothing'
    ...
    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...

  7. #7
    Join Date
    Nov 2013
    Location
    Russia, Altay state, Barnaul
    Posts
    0

    Default Re: Wine, font smoothing, OpenSUSE 42.

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

  8. #8

    Default Re: Wine, font smoothing, OpenSUSE 42.

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

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,240
    Blog Entries
    15

    Default Re: Wine, font smoothing, OpenSUSE 42.

    Quote Originally Posted by stecue View Post
    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.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •