Commit daf38561 authored by h2b's avatar h2b

Font sizes adapted.

parent d70630bf
......@@ -84,11 +84,11 @@ trait AwtScreenDriver extends ScreenDriver {
private def sized (awtFont: AwtFont, size: Font.Size.Value) =
size match {
//TODO: factors to be determined
case Font.Size.Tiny awtFont.deriveFont(6f)
case Font.Size.Tiny awtFont.deriveFont(8f)
case Font.Size.Small awtFont.deriveFont(10f)
case Font.Size.Large awtFont.deriveFont(16f)
case Font.Size.Huge awtFont.deriveFont(20f)
case Font.Size.Normal awtFont.deriveFont(12f)
case Font.Size.Large awtFont.deriveFont(14f)
case Font.Size.Huge awtFont.deriveFont(16f)
case _ awtFont
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment