这是indexloc提供的服务,不要输入任何密码
Skip to content

True italic font support #711

@mklein994

Description

@mklein994

Currently, italic fonts are achieved by making the current font oblique. It would be great if it would use the italic font instead.

Here's how I envision it could work: Similar to using a custom font with ~/.termux/font.ttf, put an italic font in a file called ~/.termux/font-italic.ttf. Then run this:

$ termux-reload-settings
$ echo -e '\e[3m light fixture \e[0m' # characters that look different in italics

and it would print this:
light fixture


Examples with Source Code Pro

Regular:

screenshot_20180610-172126

Italic:

screenshot_20180610-173553

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions