0

Setting 'verdana' as default font family.

asked 2011-12-10 08:34:28 +0800

Ganeshkhakare gravatar image Ganeshkhakare
150 4

updated 2011-12-10 08:37:57 +0800

Hi,
I'am trying to set Verdana as default font-family through out my application. I put following in zk.xml


<library-property>
<name>org.zkoss.zul.theme.fontFamilyT</name>
<value>Verdana</value>
</library-property>
<library-property>
<name>org.zkoss.zul.theme.fontFamilyC</name>
<value>Verdana</value>
</library-property>

But I'm not able to set Verdana as default font-family.

When I looked at 'web\css\norm.css.dsp', I found following code.

<c:set var="val" value="${c:property('org.zkoss.zul.theme.fontFamilyC')}"></c:set>

<c:set var="fontFamilyC" value="${val}" scope="request" unless="${empty val}"></c:set>


I think problem is with ${c:property('org.zkoss.zul.theme.fontFamilyC')} line. Because there is no function mapped to c:property in core.dsp.tld.

Please tell me if it is bug or my understanding is wrong?

Thanks in advance

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2011-12-10 09:21:11 +0800

Ganeshkhakare gravatar image Ganeshkhakare
150 4

Also breeze theme has some hard coded references of "arial" as font-family it is not using library property for it. Is there any way to tell breeze to use verdana as default font-family

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-12-10 08:34:28 +0800

Seen: 189 times

Last updated: Dec 10 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More