13.07.2015 Views

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

iReport Ultimate Guide - Nimsoft Library

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Fonts and StylesFigure 8-7Font Extension Wizard - LocalesFor example, you can define an extension for the family MyFontFamily that is valid only for Latin languages, and anotherextension with the same font family name that is valid for Asian languages that may require special glyphs usually notavailable in the TTF files. Leave the list empty if the font can be used with any languages.2. The final step (Figure 8-8) can be used to define the font family’s font names to be used by the HTML and RTFexporters.Suppose we are exporting to an HTML document a report having a text element with font name MyFontFamily. The fontMyFontFamily cannot be recognized by a browser since it does not refer to a known system font, and the TTF file of theextension cannot be used by the browser. So we set the name of a replacement font that can be used instead, such as”Arial.” For HTML, we can set more than one name, such as “Verdana, Arial.” The order of the font names indicates theorder in which the web browser should search for the replacement font. Once a replacement font is found, the browserstops searching and renders the text.129

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!