font: better interchar handling

This commit is contained in:
minjaesong
2024-05-23 14:27:26 +09:00
parent 3896da3db9
commit 87ff1abe96
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@@ -1568,7 +1568,7 @@ object BTeXParser {
private fun typesetChapterHeading(num: String?, thePar: String, handler: BTeXHandler, indent: Int = 16, width: Int = doc.textWidth) {
val header = if (num == null) thePar else "$num${spacingBlockToString(9)}$thePar"
typesetParagraphs("\n$ccDefault$header", handler, width - indent, align = "left").also {
typesetParagraphs(getPartTitleFont(), "\n$ccDefault$header", handler, width - indent, align = "left").also {
// add indents and adjust text y pos
it.moveObjectsAround(indent, -doc.lineHeightInPx / 2)