mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-10 22:01:52 +09:00
btex: font upgrade and more horz margin
This commit is contained in:
@@ -36,13 +36,13 @@ class BTeXDocument : Disposable {
|
||||
var theAuthor = ""
|
||||
var theEdition = ""
|
||||
|
||||
var textWidth = 512
|
||||
var textWidth = 508
|
||||
val lineHeightInPx = 24
|
||||
var pageLines = 24
|
||||
val textHeight: Int
|
||||
get() = pageLines * lineHeightInPx
|
||||
|
||||
val pageMarginH = 15
|
||||
val pageMarginH = 20
|
||||
val pageMarginV = 12
|
||||
|
||||
val pageDimensionWidth: Int
|
||||
|
||||
@@ -571,7 +571,7 @@ object BTeXParser {
|
||||
)
|
||||
|
||||
private val pageWidthMap = hashMapOf(
|
||||
"standard" to 512,
|
||||
"standard" to 508,
|
||||
"examination" to 640,
|
||||
)
|
||||
private val pageHeightMap = hashMapOf(
|
||||
|
||||
Reference in New Issue
Block a user