![]() Font family name Type Comment Bold Italic BI FF_FONT0 Bitmap A very small font FF_FONT1 Bitmap A medium sized font FF_FONT2 Bitmap The largest bit mapped font FF_ARIAL TTF Arial font FF_VERDANA TTF Verdana font FF_COURIER TTF Fixed pitched Courier new font FF_BOOK TTF Bookman FF_COMIC TTF Comic sans FF_TIMES TTF Times New Roman FF_GEORGIA TTF Georgia FF_TREBUCHE TTF Trebuche FF_VERA TTF Gnome Vera font. The fonts style is specified with a symbolic constant that starts with the prefix ' FS_' (for Font Style). By default all fonts are rendered with the 'normal' style. This specifies if the font should be emphasized as italic, bold, or bold-italic. ![]() A list of all supported font families are shown in. The font family is specified by using a symbolic constant that starts with the prefix ' FF_' (for Font Family). This could for example be 'Arial', 'Times roman' for TTF fonts or 'Bitmap font medium size' when using bit-mapped fonts. All graph objects that uses text allows you to specify the font to be used by calling a SetFont() method and specifying three parameters. If Freetype library is not usable in your PHP configuration, original BITMAP font will be used for compatibility. Please enter your email address receive a free font daily from in your Email! How far does the upper-case 'J' descend? Sits on the baseline. ![]() ![]() You have to prepare your own font file as well in order to use another font. You can change default font family by changing FF_DEFAULT defined in jpgraph_. This TrueType font is included in JpGraph source code (src/fonts), and there is no need to specify font for this one. 3.5, bitmap fonts are used by default which can specified from FF_FONT0 to FF_FONT2.įrom version 3.5, default fonts are now set to one of the open-source TrueType DejaVu font ( FF_DV_SANSSERIF, DejaVuSans.ttf). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |