package de.lessvoid.nifty.slick2d.render.font;
import javax.annotation.Nonnull;
import java.awt.*;
/**
* This is the render font implementation that uses an true type font to render the text.
*
* @author Martin Karing <nitram@illarion.org>
* @deprecated This font uses the {@link org.newdawn.slick.TrueTypeFont} that is marked as deprecated
*/
@SuppressWarnings("UnnecessaryFullyQualifiedName")
@Deprecated
public class TrueTypeSlickRenderFont extends AbstractJavaSlickRenderFont {
/**
* The constructor to create this true type based render font.
*
* @param ttFont the true type font that is used to render
* @param javaFont the java font that is used to render just the same font
* @throws SlickLoadFontException in case loading the font fails
*/
public TrueTypeSlickRenderFont(
@Nonnull @SuppressWarnings("TypeMayBeWeakened") final org.newdawn.slick.TrueTypeFont ttFont,
final Font javaFont) throws SlickLoadFontException {
super(ttFont, javaFont);
}
}