powered by Jive Software

How to change spark's font size and font family?

I’ve read the two documents:

http://community.igniterealtime.org/docs/DOC-1360

http://community.igniterealtime.org/docs/DOC-1521

But the UI is still not so comfortable to me.

p.s.:My preferred language is Chinese.

The problem is the font and size of the characters in spark program.

http://community.igniterealtime.org/message/144994#144994 metioned a method ,but the link is broken.And I’m not sure whether there is a mechanism such as plugin or theme making rules, something like that.

It’s the first time i met spark.Its documents is not so many as some other opensource project such as Zope/Plone/Django which I used.

I wish there would be more tutorials to let more interested people join the project more easily.

There is a ticket SPARK-1150 for font face, size and attributes changing. There are some patches attached, you can try applying them. There is no other option to do this. This is a feature request and it is waiting for someone to complete.

You can change by modify this line in Spark source code:

setApplicationFont(new Font(“Dialog”, Font.PLAIN, 11));

to

setApplicationFont(new Font(“Dialog”, Font.PLAIN, 16));