UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 16876

ISE / CORE Generator - How can I change the font size of the dialogs and menus in Project Navigator and CORE Generator?

Description

In Project Navigator, the text appears too large or too small to read. Is it possible to change the text size of the dialogs and menus?

Solution

On Unix platforms, you can change the dialog box and menu fonts by setting SystemFont in ~/.Xdefaults:

Edit the "~/.Xdefaults" file and change or add the SystemFont line so the desired font is used.

Example

*SystemFont:-adobe-helvetica-medium-r-normal--14-*-*-*-p-*-*-*

*SystemFont:-adobe-helvetica-medium-r-normal--14-100-100-100-p-76-iso8859-1

Before launching ISE or CORE Generator, re-read the ".Xdefault" file settings.

To reread your ".Xresources" file and throw away your old resources, you can type:

xrdb ~/.Xdefaults

To reread your ".Xresources" file, and keep your old resources, type:

xrdb -merge ~/.Xdefaults

To List Available Fonts for your system, type 'xlsfonts <ENTER>

A list of X Logical Font Description (XLFD) names and font alias names available on your system is displayed. Bitmap fonts show values in all fourteen XLFD fields. Scalable typefaces show zeros in the PixelSize, PointSize, ResolutionX, and ResolutionY positions.

To check for specific fonts, use the pattern-matching capability of xlsfonts. Use wildcards to replace the part of the pattern you are not trying to match.

A font is specified by listing fourteen different characteristics, separated by hyphens (-); this is called the XLFD. In some cases, a property in the list can be replaced by an asterisk (*) wildcard, and a character within a property can be replaced by a question mark (?) wildcard. The following link lists font property string specifications (see Table 17-4):

http://docs.sun.com/app/docs/doc/806-7492/6jgc4esib?a=view

The form of the property string specification is:

"-Foundry-FamilyName-WeightName- Slant-SetwidthName-AddStyleName-PixelSize- PointSize-ResolutionX-ResolutionY-Spacing- AverageWidth-CharSetRegistry-CharSetCoding"

Table 17-4, Font Property String Specification

Property String.......................Definition

Foundry....................................A string identifying the font designer

FamilyName...........................A string identifying the trademarked name of the font

WeightName..........................A string giving the relative weight of the font, such as bold

Slant..........................................A code describing the direction of slant:

R.............................................(Roman-no slant)

I...............................................(Italic-slant right)

O.............................................(Oblique-slant right)

RI............................................(Reverse Italic-slant left)

RO.........................................(Reverse Oblique-slant left)

SetwidthName .....................A string describing the width, such as compressed or expanded

AddStyleName....................A string providing any additional information needed to uniquely identify the font

PixelSize................................An integer giving the size of an em-square in pixels

PointSize................................An integer giving the size of an em-square in decipoints

ResolutionX..........................An integer giving the horizontal resolution in pixels

ResolutionY.........................An integer giving the vertical resolution in pixels

Spacing.................................A code specifying the spacing between units:

M.............................................(Monospace--fixed pitch)

P..............................................(Proportional space--variable pitch)

C..............................................(Character cell)

AverageWidth.....................An integer giving the average width in 1/10th pixels

CharSetRegistry.................A string identifying the registration authority that has registered the font encoding

CharSetEncoding...............A string identifying the character set in the specified registry

Example: The following XLFD name describes a font named charter made by bitstream that supports the ISO8859-1 standard encoding:

-bitstream-charter-medium-r-normal--8-80-75-75-p-45-iso8859-1

It is medium weight, with no special slanting, and normal width. The font is proportional, with an em-square box of 8 pixels or 8.0 points. The horizontal and vertical resolution are both 75 pixels. The average width of a character is 45 1/10ths pixels or 4.5 pixels.

Parts of this string can be replaced by wildcards. The system uses the first font it finds that matches the parts you have specified.

If all you want is an eight-pixel character font, you could use:

*-charter-*-*-*-*-8-*

To set ISE Text Editor font:

1. Select Edit -> Preference in Project Navigator.

2. Click the ISE Text Editor in the Category selection window.

3. Click the Change button (under Text Editor Font).

A font selection window opens to allow you to choose various font options.

In ISE 7.1i CORE Generator, fonts might be smaller than the fonts of other ISE design tools, such as Project Navigator on Linux and Sun platforms. Depending on the system font, setting, the COREGen GUI could use a font two sizes smaller than the indicated system font. A change was made in COREGen 7.1i IP Update 1 to synchronize the COREGen font selection code with the Project Navigator code and use the selected system fonts in all cases.

If CORE Generator fonts are smaller than the fonts of other 7.1i ISE design tools, install the latest IP update for 7.1i.

AR# 16876
Date Created 09/03/2007
Last Updated 12/15/2012
Status Active
Type General Article