Set the default font size and type for XMind

I have noticed that on all the machines that I have used XMind, the default font appears to be a poor choice. Today I got fed-up and decided to do something about it.  Most (if not all) of these machines are running Ubuntu.

I found the file defaultStyles.xml by simply issuing the command

locate defaultStyles.xml

On my home computer running Ubuntu 10.04 Lucid Lynx, it’s at /usr/local/xmind/plugins/org.xmind.ui.resources_3.0.3.200904291819/styles/defaultStyles.xml. Use your favourite editor (I use vim, but gedit would work just as well) to edit the file.  Since this is in a location outside of your home directory, you need to use sudo to edit the file, ie.

sudo vim /usr/local/xmind/plugins...defaultStyles.xml

Firstly: The default font is each element specified is

fo:font-family="$system$"

This led me to check the system font under System | Preferences | Appearance | Fonts. Lo and behold, the default application font-family is “Sans” and the default size “10”.
However, selecting the fonts dialog in Xmind only gives the option of size “12” or “14”, not “13”. But the default is set to “13”, which results in the last 1 or 2 characters begin cut of in the topic | subtopic box. Of course one can change the system font to some other font family (like Arial if you have the MS Fonts installed and you will be sending your mindmaps to windows users as well), but I
suspect using a TrueType font as system font may slow down your system or have other side-effect which I don’t care to explore at this stage.

So secondly, I changed the default font size in the defaultStyles.xml file from 13 to 12 where applicable and this took care of the cut of characters problem.

I may go back to this file to change the font-family from system to something else, but for now I’m happy knowing where I can go to change this if need be.

Additional tips and comments welcome.

Here are the links to download O2KSR1aDL.exe , WinXP-SP1a and WinXP-SP3

After searching the web for a few days and following hundreds of rabbit trails (mostly due to Google’s insistence on indexing those most annoying fake content pages that pretend to have whatever content one is looking for but actually don’t), I finally found a link to a site that actually still has the file and saved it here for others’ benefit as well.

O2KSR1aDL.EXE
(This is the English Language version – updated since the initial post)
And to make things easier while we’re at it, here are the links to WinXP SP1a and SP3 (the full download) as well
WindowsXP-SP1a-x86-ENU.exe
WindowsXP-SP3-x86-ENU.exe

(I suppose I should find the other MS Office service packs and add them here as, since Microsoft will probably pull the same stunt with them in future)

For those that are new to this issue, here is a quick synopsis:

In order to re-install Office 2000 and subsequent service packs, MS Office SP1a is needed.  There is an installer on Microsoft’s download site, but it in turn attempts to download a file which Microsoft says has been automatically deleted due to some policy rule.  (Anyone ever heard of a policy change and putting the file back??).  The bottom line is that without installing SP1a, you cannot install the other service packs.

Microsoft officially doesn’t support Office 2000 any more, but there are legacy apps that have been created to run in Access 2000 for example, that just chug along somewhere with no-one having any desire or need to upgrade and “fix” them (and pay the accompanying new Office fee which can amount to as much as R4000 per copy of Office).  So, since this is Windows, a re-installation is often the only way to fix some issue, especially when a system has become really slow over time. So now you can re-install Office 2000, apply SP1a, then the subsequent ones and get on with your life.

Please note: I don’t run MS Office and haven’t for a very long time, but I had this problem with an application on a customer site, which prompted me to create this post. I use LibreOffice for new systems (running on Ubuntu), which offers significant advantages and features that MS Office doesn’t have and is significantly simpler to use than MS Office as well.