## Sample text

Viewing a sample text can be useful for both typesetters, graphic/web designers and type designers. This function is available in the Sample text tab of the main window.

### Sample text collection

Fontmatrix ships with a set of sample text in various languages and scripts and allows you to add you own sample texts (see Samples collection chapter for details).

To pick a text from collection click the vertical Samples collection button to reveal a sidebar where available sample texts are listed.

### Navigation and rendering

Sample text is rendered on a very large canvas, but line breaks are applied automatically so that in the end you see text in paragraphs anyway. You can use Ctrl+mouse wheel for zooming in and out and middle mouse button for panning. If you want to zoom to a particular region, click and drag to draw a rectangle around the area of interest. A single click anywhere on canvas will change the view to 1:1 zoom level.

While zooming in with default options you will immediately notice that text gets pixelized. This is because by default Fontmatrix uses Freetype library to render text, so that you can see what the text will really look like when rendered on display. If you aim to use a chosen font for a print job, click the vertical Display settings button to reveal a sidebar with rendering options and switch from Rasterized to Vector.

You can also change font size, but note that rendering of sample text in that case will update only when you single click on canvas. While this is somewhat inconvinient for simple and straightforward scripts like Latin or Cyrillic, when it comes to Asian scripts, rendering of every font size change may take quite a while due to complex glyphs composition.

The next group of options called World is wide controls inline and block progression. So if you need to render a text in Hebrew (right to left inline/block progression) or Mongolian (right to left inline, top to bottom block progression), this is where you define script specific options.

Fontmatrix can optionally use its own shaper for rendering text. Enable Shaper checkbox to try that.

### OpenType features

Fontmatrix has a quite advanced OpenType support and allows to test implementation of OTF features available in a currently loaded font. To do this click the vertical OpenType features button to reveal a sidebar where available OTF features are grouped into respective OpenType tables and subtables.

When you enable or disable a feature by clicking on respective checkbox, Fontmatrix automatically rerenders the whole canvas.