Project

General

Profile

Actions

Bug #4184

closed

setSize for WFont bugged

Added by Pavel Sopher over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Benoit Daccache
Target version:
Start date:
06/18/2015
Due date:
% Done:

0%

Estimated time:

Description

If the family for the font (in WFont) is not specified (e.g. new WFont()), setSize() does not work.

Tested for the (WPainter) painter.setFont().

//Doesnt work

WFont font = new WFont();

font.setSize(new WLength(25)); //(Doesnt work)

painter.setFont(font);

//Works

WFont font = new WFont(GenericFamily.Monospace);

font.setSize(new WLength(25));

painter.setFont(font);

Actions #1

Updated by Benoit Daccache over 9 years ago

  • Assignee set to Benoit Daccache
  • Target version set to 3.3.5
Actions #2

Updated by Benoit Daccache over 9 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF