### Extrude Parameter Examples Source: https://handbook.glyphsapp.com/filters/extrude Examples showing how to apply the Extrude filter with specific offset and angle values, with and without the subtraction option. ```text Extrude; 100; -30 ``` ```text Extrude; 100; -30; 1 ``` -------------------------------- ### Roughen Custom Parameter Example Source: https://handbook.glyphsapp.com/filters/roughen An example of a configured Roughen custom parameter. ```text Roughenizer; 15; 15; 10 ``` -------------------------------- ### Hatch Outline Parameter Example Source: https://handbook.glyphsapp.com/filters/hatch-outline An example configuration for strokes with a thickness of 5, a 40-degree angle, and a 20-unit step width. ```text HatchOutlineFilter; StepWidth:20; Angle:40; Offset:5 ``` -------------------------------- ### Open files and select glyph layers via URL Source: https://handbook.glyphsapp.com/single-page Example of using the glyphsapp URL scheme to open multiple files and specify glyph layers. The path parameter identifies the file, while glyph and layer parameters define the content to display. ```text glyphsapp://show/ ?path= &glyph=A &layer=4D7C7F2F-B84D-4CED-A290-F3FFF64C7B4A &layer=73D41BF5-8E45-43E6-AADB-7DAF606BDDB2 &glyph=B &path= &glyph=Gbreve &production=uni01F4 ``` -------------------------------- ### Define Sample Strings with Glyphs Syntax Source: https://handbook.glyphsapp.com/single-page Use this syntax in the Sample Strings preference field to include specific glyphs, placeholders, and line breaks. ```text /exclamdown Hola /Placeholder/exclam\nsecond line ``` -------------------------------- ### Offset Curve Custom Parameter Example Source: https://handbook.glyphsapp.com/filters/offset-curve Example of an OffsetCurve parameter with specific values for horizontal/vertical offset, stroke activation, and position. ```text OffsetCurve; 10; 10; 1; 0.5; cap:1 ``` -------------------------------- ### RoundCorner Filter Example Source: https://handbook.glyphsapp.com/filters/applying Applies the RoundCorner filter with a radius of 15 and visual corrections enabled. ```text RoundCorner; 15; 1 ``` -------------------------------- ### Round Corners with Visual Corrections Source: https://handbook.glyphsapp.com/filters/round-corners Example of applying a corner radius of 55 with visual corrections enabled. ```text RoundCorner; 55; 1 ``` -------------------------------- ### Define a Sample String with Glyphs and Line Breaks Source: https://handbook.glyphsapp.com/settings/sample-strings Use slash-prefixed glyph names and the \n escape sequence to format custom sample strings. ```text /exclamdown Hola /Placeholder/exclam\nsecond line ``` -------------------------------- ### Define Meta Table Languages Source: https://handbook.glyphsapp.com/single-page Examples of BCP 47 compliant language tags for the meta table. ```text Cyrl ``` ```text sr-Cyrl ``` ```text sr-Cyrl-BA ``` -------------------------------- ### Create a basic HTML webfont preview Source: https://handbook.glyphsapp.com/previewing-and-testing Use this HTML structure to test exported WOFF2 font files in a web browser. ```html Webfont Preview This is the test text for the webfont preview. ``` -------------------------------- ### Apply Complex Transformation Rule Source: https://handbook.glyphsapp.com/transformations Example of a combined transformation rule setting width, scaling, slanting, offsets, and origin metric. ```text Transformations; Width:700; ScaleX:120; ScaleY:120; Slant:14; OffsetX:8; OffsetY:-22; Origin:2 ``` -------------------------------- ### glyphsapp://show/ Source: https://handbook.glyphsapp.com/url-scheme Opens files in Glyphs and adds a new tab with a specified list of glyph layers. ```APIDOC ## GET glyphsapp://show/ ### Description Opens a file in Glyphs and displays a specific set of glyph layers in a new tab. Multiple files and glyphs can be specified in a single URL. ### Endpoint glyphsapp://show/ ### Query Parameters - **path** (string) - Required - An absolute file path to the .glyphs file. - **glyph** (string) - Optional - The name of a glyph to display. - **production** (string) - Optional - The production name of a glyph to display. - **layer** (string) - Optional - The ID of a glyph layer. Can be repeated for multiple layers per glyph. ### Request Example glyphsapp://show/?path=/Users/someUser/SomeFile.glyphs&glyph=A&layer=4D7C7F2F-B84D-4CED-A290-F3FFF64C7B4A ``` -------------------------------- ### Open files and layers via URL Source: https://handbook.glyphsapp.com/url-scheme Opens multiple files and specifies layers for individual glyphs using query parameters. ```text glyphsapp://show/ ?path=%2FUsers%2FsomeUser%2FSomeFile.glyphs &glyph=A &layer=4D7C7F2F-B84D-4CED-A290-F3FFF64C7B4A &layer=73D41BF5-8E45-43E6-AADB-7DAF606BDDB2 &glyph=B &path=%2FUsers%2FsomeUser%2FOtherFile.glyphs &glyph=Gbreve &production=uni01F4 ``` -------------------------------- ### Apply Relative Sidebearing Transformations Source: https://handbook.glyphsapp.com/transformations Example of using relative operators to modify sidebearings, specifically multiplying LSB by 2 and adding 15 to RSB. ```text Transformations; LSB:*2; RSB:+15 ``` -------------------------------- ### Define a Plugin Repository Structure Source: https://handbook.glyphsapp.com/settings/addons The repository definition file uses a structured format to list plugins, scripts, and modules. Only the lists currently in use are required. ```text { packages = { plugins = ( { titles = { en = "Some Plugin"; }; url = "https://github.com/example/plugin"; path = "Some Plugin.glyphsPlugin"; descriptions = { en = "A description of the plugin."; }; screenshot = "https://example.org/image.png"; }, ... ); scripts = ( ... ); modules = ( ... ); }; } ```