By Simon Hausmann
Simon Hausmann

Working towards a unified text layout engine for the free desktop software stack

Published Friday March 30th, 2007 | 5 Comments on Working towards a unified text layout engine for the free desktop software stack
Posted in Qt

I attended a meeting October last year in Boston where various parties dealing with text layouting met. This included members of the Pango/Gtk+, KOffice, OpenOffice/ICU and Scribus projects. Right now we duplicate a fair amount of work to support complex scripts and exotic languages. Only Pango and Qt share some code already that originates from […]

Read More
Simon Hausmann

Subversion in the Trolltech Labs

Published Wednesday March 7th, 2007 | 6 Comments on Subversion in the Trolltech Labs
Posted in Labs

I’ve seen already three different developers asking on IRC: “Why do you use Subversion in the Trolltech labs to publish your source code, instead of $FAVOURITE_REV_CTRL_SYSTEM?”. To make everyone’s life easier I thought I’d just answer the question here :) The two main arguments are simple: It’s portable. It runs well on Linux, OS X, […]

Read More
Simon Hausmann

Fun with Git

Published Tuesday January 30th, 2007 | 1 Comment on Fun with Git
Posted in Uncategorized

Just for the fun of it I wrote a 132 LOC python script that takes the output of a perforce client and produces input for git-fast-import. I just wanted to see how git would perform on a big repository like Qt’s. Git is a decentralized revision control system (check out the Wikipedia page for more […]

Read More
Simon Hausmann

Locating Files

Published Saturday December 16th, 2006 | 2 Comments on Locating Files
Posted in Qt

It’s time for another lazy Saturday afternoon blog entry. Lazy because that’s how I like Saturdays. No emails that need answering, no tasks that need fixing, just doing what I feel like. Sometimes hacking, sometimes making music, sometimes chatting. And almost traditionally some good Italian food. But let’s digress towards a neat feature in Qt […]

Read More
Simon Hausmann

x11 font fun

Published Friday December 1st, 2006 | 4 Comments on x11 font fun
Posted in Qt

After essentially moving around some code (trying to avoid the word ‘refactoring’ ๐Ÿ™‚ we managed to fix a little annoyance with text drawing that is now also in the X11 4.3 snapshots: Text that is drawn onto QImage objects is now rendered using freetype instead of plain paths, which looks so much better. And on […]

Read More
Simon Hausmann

Another little KMail feature making me happy

Published Wednesday October 4th, 2006 | 5 Comments on Another little KMail feature making me happy
Posted in KDE

So I’ve been using KMail for I think three years now, but I’ve just discovered my new favorite feature: I frequently move mails from my inbox to sub-folders and I’ve always done this using the context menu with ‘Move To’, followed by mouse navigation through a deep hierarchy of menus. Only recently I discovered that […]

Read More
Simon Hausmann

Fun with Fonts

Published Friday August 4th, 2006 | 2 Comments on Fun with Fonts
Posted in Qt

From the Cool-Things-That-Are-Surprisingly-Simple-With-Qt category: Download a font from the web and use it right away without saving it to disk or installing it in the system, in 45 lines of code: #include <QtGui> #include <QtNetwork> class CoolTextEdit : public QTextEdit { Q_OBJECT public: CoolTextEdit(const QUrl &fontUrl); private slots: void tryDownloadedFont(); private: QByteArray downloadedFont; QHttp *downloader; […]

Read More
Simon Hausmann

KDE Four Core Meeting in Trysil

Published Friday July 7th, 2006 | Comments Off on KDE Four Core Meeting in Trysil
Posted in KDE

… so now it’s almost over. Most people left today. You could tell that the meeting is really over when it started raining and storming and the power failed a few times in the afternoon. The first outage came when we were right in the supermarket buying some last groceries and suddenly the entire supermarket […]

Read More
Get started today with Qt Download now