This file dictates that fonts without a slanted face (Italic or Oblique) should have a faux face created with a skew of 20%. On my Fedora box, all the configuration options for synthesized faces are located in the file /etc/fonts/conf.d/nf. On Linux, font configuring is handled by Fontconfig. However, a close examination shows that the faux Italic faces in Inkscape are not skewed by 12 degrees. CAIRO_FT_SYNTHESIZE_OBLIQUE: Slant the glyph outline by 12 degrees to the right.įreeType has functions that create faux faces.CAIRO_FT_SYNTHESIZE_BOLD: Embolden the glyphs (redraw with a pixel offset).The enumeration “cairo_ft_synthesize_t” can have the values (from the documentation): Hunting further, one finds that Cairo has functions that interact with FreeType to request synthesized fonts. This doesn’t appear to be what is happening with Inkscape. The Oblique face is made by skewing the “Regular” glyphs by 25%. A little bit of sleuthing finds that Pango can create an Oblique face from a Regular face in the Pango/Cairo interface code but does not appear to be able to embolden a face. At some point along the line synthesized faces are created. If a font does not have an Italic/Oblique or a Bold face, Pango will still indicate that it does. There is surprisingly little documentation on how this works. Inkscape interfaces to the fonts on a system through Pango. (If you think that this is important, tell them!)įont Faces and Pango/Cairo/FreeType/Fontconfig As of now, CSS3 Fonts does not add the font weight 1000. Small caps will no longer be found in a separate face but be embedded into a “normal” face. It will allow one to select between various glyphs in a single font face. The main change from CSS2 is that the property font-variant is being changed from a font-selection property to a font-feature property with expanded functionality. There is a new CSS3 Font module being written. One should note that the Bold and Italic buttons in the Inkscape text toolbar have recently been replaced by a drop-down list to accommodate more face options. Also, SVG and CSS have no way to distinguish between two faces in the same font-family that differ in away not described by the above properties (e.g. Since Inkscape relies on SVG, it cannot directly support a weight of 1000. For example, SVG and CSS only supports nine weight variants, the numbers 100, 200, …, 900 but some faces have a weight of 1000 (as supported by FontLab). SVG and CSS, recognizing this, allow access to more faces. For example, ‘Helvetica’ from Linotype has 34 faces, ‘DejaVu Sans’ has nine. But font foundries typically offer more than four faces in a family. The creation of faux faces ensures that each of these four faces are present even if only one true face is available. This was a limitation set by Microsoft Windows as it only supported four faces inside one font file. In the past, most software offered only a choice of four faces: Regular, Italic, Bold, and Bold-Italic. font-stretch: normal, wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded.SVG 1.1 (which for fonts is basically the same as CSS 2.1 ) defines the following font-selection properties: Since Inkscape uses SVG as its native file format, we need to take a quick look at how SVG describes font faces. In fact, the top and bottom of the bolder ‘O’ are actually thinner. Note that the Medium glyphs (black) are not just thickened versions of the Regular glyphs (red outline). SVG Buttons in HTML ( or SVG Integration in HTML)įedora 9 on a Dell Inspiron 9200 NotebookĬomparison between the Regular and Medium faces of ‘Nimbus Roman No9 L’. SVGĬSS3 Transforms and Animation Experiments SVG Working Group Meeting Report – Rigi KaltbadĪ Spinning Newspaper or a Study of HTML vs. Inkscape and Font Faces, a drama featuring SVG, Pango, and others. SVG Working Group Meeting Report - Londonīlending coming to an SVG renderer near you! (Including Inkscape)įlowed text in SVG: One step forward, one step back. SVG Working Group Meeting Report - Santa Clara (TPAC)ĭescending into the bowels of Inkscape code SVG Working Group Meeting Report - Sydney SVG Mesh Gradients, Heat Maps, and a Plea SVG Working Group Meeting Report - Sydney - 2016 SVG Working Group Editor’s Meeting Report - London - 2016
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |