Skip to content

libbdf里的BDF_Font::create()是否预设了某条件 #15

@czlx-github

Description

@czlx-github

该函数里这段代码:int x1 = x - bbx[2];,假设了BDF字体的原点(注意不是字体的原点左上角)横坐标总是和整个字体位图的左边框重合,即总为0?
根据提供的bdf文件的FONTBOUNDINGBOX的确是这样。
但根据BDF字体的规范,这样则是不一定对的,请参考规范里面提到的字体"j".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions