Archive for January 2012
How SVG units work
From the specification:
“1pt” equals “1.25px” (and therefore 1.25 user units)
“1pc” equals “15px” (and therefore 15 user units)
“1mm” would be “3.543307px” (3.543307 user units)
“1cm” equals “35.43307px” (and therefore 35.43307 user units)
“1in” equals “90px” (and therefore 90 user units)
Linux remove directory and all contents
rm -rf NameOfTheDirectory
What to do with all the GTK+ library files in Win32
Lots of files are helpfully provided here: http://www.gtk.org/download/win32.php
Not bad Win32 support for a GPL, but as is typical, they don’t tell you what to do with them.
What you do is open the zip files, and merge them with the folders in your MinGW directory. The best way I found to do that is to move the zip file to my mingw directory (in my case, C:\Qt\4.7.1\mingw), and then use Windows’ “Extract all…” feature, which will offer to merge the directories automatically.
One more wrinkle: the “Dev” versions are necessary to build code using the libraries; the “Run-time” versions are necessary to actually execute the program. Both need to be installed as described above.