2

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?

1 Answers1

0

I 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:

  • Move the .font file to .font.moved
  • tell you that it is starting Photoshop (in a red colour).
  • Start Photoshop (WILL need a different command from this)
  • Tell you photoshop has closed and return the fonts directory.

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

Wilf
  • 30,732