I'm using PhotoshopCS6 on wine1.7,and this crashes everytime after selecting TypeTool.
I guess some user fonts(~/.fonts/*) causes crash on wine.
How can I prevent wine from loading user fonts? Or, is there a way to specify fonts folder to load?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI think that your question is answered anyway, but I'll add this anyway. This is based on a similar bash script I use for opening Audacity with wine (I have the Linux version, but that does not work with some of the plugins).
#!/bin/bash
Red="\033[1;31m"
clear="\033[1m\033[0m"
mv /home/iaarchiver/.fonts /home/iaarchiver/.fonts.moved
echo -e "$Red Moved fonts directory - starting Photoshop."
wine start /unix '/home/iaarchiver/.wine/drive_c/Program Files/Photoshop/Photoshop.exe'
echo -e "Photoshop Exited - Returning fonts directory. $clear"
mv /home/iaarchiver/.fonts.moved /home/iaarchiver/.fonts
echo "Goodbye!"
If you save this and run it in terminal, it should:
.font
file to .font.moved
I have not tested this - but it should work - You will need to change the filename locations as I only guessed them from your comments.
N.B. The $Red and $clear are not necessary, but were in my original script so I left them in
#!/bin/bash mv $HOME/.fonts $HOME/.fonts.moved && env WINEPREFIX="/home/iaarchiver/.wine" wine ... && mv $HOME/.fonts.moved $HOME/.fonts
No crash for now, thanks wilf!
Nov 4, 2013 at 0:59
.fonts
directory to another name e.g. justfonts
and see what happens. If nothing changes about the way it crashes, try something else. It may be best to work out the problem before the solution. Also, running wine inside a virtual desktop (go to wine config) may work better (not always, but sometimes). Try editing the Photoshop settings to see if anything improves. If you get fed yp with Photoshop, try GIMP 2.8 instead - instructions hereusr/share/font
instead of~/.font
- but a root password is required) - but it is just a font causing the problem, this will make things worse. So I would either: try and live without the fonts in.font
; re-enable.font
only when not using Photoshop; or just try GIMP - which is free and should not blow up anything anyway.mv $HOME/.fonts $HOME/.fonts.bak; env WINEPREFIX="/home/iaarchiver/.wine" wine C:\\windows\\command\\start.exe /Unix /home/iaarchiver/.wine/dosdevices/c:/users/iaarchiver/Start\ Menu/Adobe\ Photoshop\ CS6\ Extended.lnk; mv $HOME/.fonts.bak $HOME/.fonts