You are not logged in.

#1 2015-11-30 01:01:04

mrgreen7
Member
Registered: 2014-12-21
Posts: 13

Understanding how changing fonts can break Java

Today I uninstalled and afterwards installed again chromium which led to the package ttf-bitstream-vera to be uninstalled and the package noto-fonts to be installed (I guess the font dependency for chromium was changed?).

The lack of the ttf-bitstream-vera package broke Java GUIs. See for example a screenshot of IntelliJ below: http://oi65.tinypic.com/bhjg90.jpg. The problem is solved either by switching from oracles jdk to openJDK or by re-installing the ttf-bitstream-vera.

I am confused with regards to how the lack of a font package can cause such a problem. Does anybody have an explanation for this?

-- mod edit: Replaced img with url tags.  Please see forum rules on image sizes.  Trilby --

Last edited by Trilby (2015-11-30 01:04:09)

Offline

#2 2015-11-30 03:53:57

mpan
Member
Registered: 2012-08-01
Posts: 1,211
Website

Re: Understanding how changing fonts can break Java

mrgreen7 wrote:

Does anybody have an explanation for this?

Probably one of the glyphs has wrong infromation about its metrics or Swing is calculating height wrong.


Sometimes I seem a bit harsh — don’t get offended too easily!

Offline

Board footer

Powered by FluxBB