![]() ![]() On Windows, Aspose.Words first takes all available fonts from the _%windir%\Fonts folder. In most cases, Windows users do not face significant problems with missed fonts or incorrect layouts. Typically, Aspose.Words goes through a document, and when it encounters a font’s link, it successfully fetches the font data from the system folder. Where Aspose.Words Looks for TrueType Fonts on Windows Using several FontSettings instances decreases performance because they do not share the cache. Per-document instances are needed only if it is required to use different font sources for different documents, which is a rare case. In the majority of cases, using DefaultInstance should be enough. However, using a FontSettings instance for each document is not an optimal solution. On different operating systems, fonts may be located in different places. Therefore, it is possible to create a source list with SystemFontSource and any other required sources:Ī single instance of the SystemFontSource class is defined by default in FontSettings. There is a special SystemFontSource class that is always used by default. It represents all TrueType fonts installed on the system. ![]() Implementation details for some classes are explained below. The FontSourceBase class is used to specify various font sources. There are several implementations of the FontSourceBase class: This topic describes the default behavior of Aspose.Words when it looks for TrueType fonts, including operating system specific differences, and demonstrates how to specify user font sources. Where Aspose.Words Looks for TrueType Fonts on Mac OS X.Where Aspose.Words Looks for TrueType Fonts on Linux.Where Aspose.Words Looks for TrueType Fonts on Windows.Aspose.Total Product Family Aspose.Words Product Solution Aspose.PDF Product Solution Aspose.Cells Product Solution Aspose.Email Product Solution Aspose.Slides Product Solution Aspose.Imaging Product Solution Aspose.BarCode Product Solution Aspose.Diagram Product Solution Aspose.Tasks Product Solution Aspose.OCR Product Solution Aspose.Note Product Solution Aspose.CAD Product Solution Aspose.3D Product Solution Aspose.HTML Product Solution Aspose.GIS Product Solution Aspose.ZIP Product Solution Aspose.Page Product Solution Aspose.PSD Product Solution Aspose.OMR Product Solution Aspose.PUB Product Solution Aspose.SVG Product Solution Aspose.Finance Product Solution Aspose.Drawing Product Solution Aspose.Font Product Solution Aspose.TeX Product Solution ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |