Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
bharath28
Creator
Creator

Change font type

Hi All,

I want to change font in the whole dashboard. The dashboard has many objects and they have Arial font with different size and Style in different objects.

I just want to change the font type(from Arial to Tahoma).

I tried to use theme but it is changing font style and size as well.

Please help.

Thanks!

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Create a -prj directory and make the mass change to the xml files with an editor.

1. Create the prj directory. It will be in the same folder as the qvw and use the qvw name (case sensitive) with -prj appended. For example, for "Sales.qvw", create the folder "Sales-prj".

2. Open, Save, and close the qvw. That will populate the prj folder.

3. Use an editor (like Notepad++) that is capable of doing find/replace across multiple files in a single operation. Use the editor to replace strings of

<FontName>Arial</FontName>

with

<FontName>Tahoma</FontName>

4. Open the qvw file again and the fonts will be updated to Tahoma.

5. You can delete the -prj folder at this point.               

Make sure you have a backup copy of the qvw before attempting. Below is what my Notepad++ screen would look like after choosing Search, Find in Files from the menu

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

2016-07-20_15-41-42.png

View solution in original post

10 Replies
tamilarasu
Champion
Champion

Hi Bharath,

Document Properties -> Font -> Default Document Fonts -> Two options ( List Boxes, Charts etc.. and Text objects and Buttons) -> Change Font to Tahoma -> Click apply to Objects.

Untitled.png

santiago_respane
Specialist
Specialist

Hi,

In document properties, in the Font tab, you can change the font and then click in the Apply to objects button in order to apply the change.

Please let me know if this helps.

Kind regards,

tamilarasu
Champion
Champion

Also check the caption tab to change the font type of objects.

Document Properties -> Caption -> Font -> Default Font -> Two options ( List Boxes, Charts etc.. and Text objects and Buttons) -> Change Font to Tahoma -> Click Set button.

bharath28
Creator
Creator
Author

Thanks for the response.

This setting is also changing the Style and size, which my main issue.

Is there a way to change only font?

tamilarasu
Champion
Champion

Have you try to adjust the font style and size in font tab.?

bharath28
Creator
Creator
Author

Hi Nagaraj,

When i use the option you specified, it effects all objects (say all text objects & Buttons).

Mine is a old dashboard with different text objects has different font SIZE which i don't want to disturb. I just want to modify the font TYPE.

Thanks!

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Create a -prj directory and make the mass change to the xml files with an editor.

1. Create the prj directory. It will be in the same folder as the qvw and use the qvw name (case sensitive) with -prj appended. For example, for "Sales.qvw", create the folder "Sales-prj".

2. Open, Save, and close the qvw. That will populate the prj folder.

3. Use an editor (like Notepad++) that is capable of doing find/replace across multiple files in a single operation. Use the editor to replace strings of

<FontName>Arial</FontName>

with

<FontName>Tahoma</FontName>

4. Open the qvw file again and the fonts will be updated to Tahoma.

5. You can delete the -prj folder at this point.               

Make sure you have a backup copy of the qvw before attempting. Below is what my Notepad++ screen would look like after choosing Search, Find in Files from the menu

-Rob

http://masterssummit.com

http://qlikviewcookbook.com

2016-07-20_15-41-42.png

tamilarasu
Champion
Champion

Ineresting and Very Nice!!

Digvijay_Singh

Vow! Very Helpful!