You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Mathias Bässler <01...@web.de> on 2013/08/05 11:10:30 UTC

How to change fonts in OM

Hello everyone,

I'm trying to use another font in OM, but can't figure out how it works...

I tried the following on this structure:

|
|-resources/
|-library.lzx
|-myfile.lzx

I put the *.ttf files into the resources folder and added the following code to library.lzx:

<font name="ubuntu">
   <face src="resources/ubuntur.ttf"/>
   <face src="resources/ubuntub.ttf" style="bold"/>
</font>

Then I changed code in myfile.lzx:

<labelTooltip name="_text" text="" labelid="1545"/>

to

<labelTooltip name="_text" text="" labelid="1545"  font="ubuntu" fontstyle="bold"/>

When I build OM it changes nothing, so, does anyone know how to change the fonts?

Thanks in advance!

Re: How to change fonts in OM

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Did you build the code? Just chaning LZX files without building the source
will not change anything.

Sebastian


2013/8/5 "Mathias Bässler" <01...@web.de>

> Hello everyone,
>
> I'm trying to use another font in OM, but can't figure out how it works...
>
> I tried the following on this structure:
>
> |
> |-resources/
> |-library.lzx
> |-myfile.lzx
>
> I put the *.ttf files into the resources folder and added the following
> code to library.lzx:
>
> <font name="ubuntu">
>    <face src="resources/ubuntur.ttf"/>
>    <face src="resources/ubuntub.ttf" style="bold"/>
> </font>
>
> Then I changed code in myfile.lzx:
>
> <labelTooltip name="_text" text="" labelid="1545"/>
>
> to
>
> <labelTooltip name="_text" text="" labelid="1545"  font="ubuntu"
> fontstyle="bold"/>
>
> When I build OM it changes nothing, so, does anyone know how to change the
> fonts?
>
> Thanks in advance!
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com