public final class DefaultFontFactory extends Object
FontFactory
which is able to cover typical use-cases in many
scenarios.Modifier and Type | Method and Description |
---|---|
static FontFactory |
createUsing(FontManagerFuture fontManagerFuture)
Factory-method to create a default
FontFactory . |
public static FontFactory createUsing(FontManagerFuture fontManagerFuture)
FontFactory
. It will have logging enabled if this
class's Logger
is set to DEBUG level.
While a FontFactory
, in general, is allowed to produce null
, the
FontFactory
registered in FontFactoryReaderSettings
must not do so. For this
reason, the implementation created here will never produce null
.
fontManagerFuture
- must eventually produce a FontFactory
which will be used for
font requests.FontFactory
instance. Not necessarily an instance of
DefaultFontFactory
.Copyright © 2024 levigo holding gmbh. All rights reserved.