Ninetynine is a creative design & coding agency

Archive for April, 2009

Photoshop CS4 on Ubuntu 9.04

with 22 comments

Photoshop 9.04 on UbuntuYes, it is possible! To my own suprise, I was able to install Photoshop CS4 on Ubuntu.

I did it on a fresh install of Ubuntu 9.04 RC. It has known to work on Ubuntu 8.10, but it gave me a segmentation fault, probably because I had been messing around ;) . I tested it with the trial version downloaded from adobe.com.

To do so, you need Wine. I will take you through the steps that I’ve taken:

Read the rest of this entry »

Written by ruben

April 20th, 2009 at 10:08 pm

Posted in Photoshop,Ubuntu

Tagged with ,

Flex: Runtime font embedding using compiled CSS with loader

with one comment

A missing feature in Flex is the ability to load fonts at runtime.

‘Why is this useful?’, you could ask. Well one situation is you’re creating an online rich text editor, and you want to add a font
to the font list. You would only have to edit the css and upload the new swf instead of the whole application. Or you want a client
to be able to add fonts without him having the source code from the application.

Luckily it’s possible in Flex to load runtime CSS compiled as an SWF with the StyleManager class.
StyleManager on LiveDocs

Fonts.css Example :

1
2
3
4
@font-face {
    src:url("fonts/Arial.ttf");
    fontFamily:"Arial";
}

How to compile the CSS to SWF?
Read the rest of this entry »

Written by michiel

April 13th, 2009 at 9:57 pm

Posted in AIR,AS3,CSS,Flex,Tutorials

Tagged with , ,

Fix random crashes Firefox, Thunderbird and Evolution on Ubuntu 8.10

without comments

What do you expect of a decent modern OS? A great browsing experience and a decent mail client. Since I upgraded to Ubuntu 8.10 I had troubles with random crashes of Firefox when loading pages, and entirely random crashes of Evolution mail client.

So I switched to Thunderbird. But then same symptoms started showing. Giving me 5-10 crashes of Thunderbird a day, and serious troubles on heavy browsing.

The first things to do when getting crashes of Mozilla products are:

  1. Make sure you don’t have a lethal combination of add-ons
  2. Check if Flash isn’t the evil spirit haunting your browser, try the Flashblock add-on
  3. Make a new profile for Firefox and Thunderbird, by renaming your old configuration. You can find the configuration folders in your home. Mostly ~/.mozilla for Firefox, and ~/.mozilla-thunderbird for Thunderbird.
  4. Completely remove Firefox (make a backup of your configuration) and reïnstall it

I tried every possible thing I could do to fix Thunderbird or Firefox. But then again, why was Evolution suffering as well? Well the deal was that I had WINS resolution enabled in Samba. Found it in this bug report.

When upgrading to 8.10, Samba was upgraded too. This bug has been reported and hopefully will be solved in Ubuntu 9.04, launching 23rd of April.

So how do we fix this?

Read the rest of this entry »

Written by ruben

April 12th, 2009 at 3:22 pm

Posted in Ubuntu

Tagged with , , , ,