That is, a global font options of options: # Spacing is the extra space around each character. System font configuration such as that from the fontconfig libraryĬascading will work at the property level.font options attached to an individual font.In the following list, items at the top are prioritized above items at the bottom. Global font options will be the default for each of normal, italic, and bold they will also be used for non-configured fallback fonts.īeyond the global cascade, this proposal specifies a priority order for applying settings. No properties of font options are required. Know that whenever this line is specified it is simply a shorthand, and all of the other properties are valid in the context despite not being present in the shorthand. To keep things simple, this suggests there should be a common structure for setting size, glyph offsets, antialiasing, and etc. Three out of the four issues are about providing settings per face. In addition to solving the limitations outlined above, the next system should interact well with system level font settings such as fontconfig on Linux platforms. Its name sounds like it's doing what the glyph_offset config does, but in reality it is changing cell dimensions.Ī better naming system for font.offset might be font.spacing and give it properties of line and letter to match convention. The font.offset block is confusingly named. In theory, these can all be configured per-font, so it might make sense to include them when thinking about a solution for size. These are things like subpixel AA, lcd filter, and antialiasing. Several properties are not configurable because we don't yet offer them.It may be desirable for users to provide their own fallback list. Setting this per face would be beneficial for things like powerline which often has alignment problems. This is a problem because it may be desirable to have different sizes for latin text vs CJK or others. use_thin_strokes: true Limitations in the current system Thin strokes are suitable # for retina displays, but for non-retina you probably want this set to # false. X: 0.0 y: 0.0 # OS X only: use thin stroke font rendering. Increase the x offset to move the glyph to # the right, increase the y offset to move the glyph upward. X: 0.0 y: 0.0 # Glyph offset determines the locations of the glyphs within their cells with # the default being at the bottom. offset.y can be thought of # as modifying the linespacing, and offset.x as modifying the letter spacing. normal:įamily: monospace style: Regular # The bold font face bold:įamily: monospace style: Bold # The italic font face italic:įamily: monospace style: Italic # Point size of the font size: 11.0 # Offset is the extra space around each character.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |