Bug 348 - Add a method to change font in TextRender
Summary: Add a method to change font in TextRender
Status: RESOLVED WONTFIX
Alias: None
Product: Jogl
Classification: JogAmp
Component: awt (show other bugs)
Version: 1
Hardware: All all
: P5 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2008-03-12 02:54 CET by Sven Gothel
Modified: 2015-09-27 03:14 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:51:20 CET


---- Reported by gibe 2008-03-12 02:54:16 ----

The TextRenderer lacks a setFont option.

For now, it's needed to create a new TextRenderer for each font to use.
However, user should avoid to allocate to many textrenderers outside the init
method (Specially, it seems that there are some memory leaks when destroying
TextRenderer).

Jean-Baptiste



--- Bug imported by sgothel@jausoft.com 2010-03-24 07:51 EDT  ---

This bug was previously known as _bug_ 348 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=348