Skip to content

Style 1-based line spacing #1

@ItMightBeKaraoke

Description

@ItMightBeKaraoke

KBS spaces lines based on the font and size of the first style, but their algorithm is a bit mysterious. Currently, kbputils doesn't even attempt to calculate the right spacing, and just uses 19, which is the value for Arial 12 Bold, the default Style 1 font.

I've been looking into reverse-engineering the algorithm, but until then, another option is just to use hardcoded values for known fonts and warn if another font is in style 1.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions