Codota Logo
AbstractFontRegistry
Code IndexAdd Codota to your IDE (free)

How to use
AbstractFontRegistry
in
fr.opensagres.xdocreport.itext.extension.font

Best Java code snippets using fr.opensagres.xdocreport.itext.extension.font.AbstractFontRegistry (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: fr.opensagres.xdocreport/fr.opensagres.xdocreport.itext5.extension

public Font getFont( String familyName, String encoding, float size, int style, BaseColor color )
{
  initFontRegistryIfNeeded();
  if ( familyName != null )
  {
    familyName = resolveFamilyName( familyName, style );
  }
  try
  {
    
    return FontFactory.getFont( familyName, encoding, size, style, color );
  }
  catch ( ExceptionConverter e )
  {
    // TODO manage options of font not found + add some logs
    
    return new Font( FontFamily.UNDEFINED, size, style, color );
  }
}
origin: fr.opensagres.xdocreport/fr.opensagres.xdocreport.itext.extension

public Font getFont( String familyName, String encoding, float size, int style, Color color )
{
  initFontRegistryIfNeeded();
  if ( familyName != null )
  {
    familyName = resolveFamilyName( familyName, style );
  }
  try
  {
    return FontFactory.getFont( familyName, encoding, size, style, color );
  }
  catch ( ExceptionConverter e )
  {
    // TODO manage options of font not found + add some logs
    return new Font( Font.UNDEFINED, size, style, color );
  }
}
origin: fr.opensagres.xdocreport/fr.opensagres.xdocreport.itext.extension-gae

public Font getFont( String familyName, String encoding, float size, int style, Color color )
{
  initFontRegistryIfNeeded();
  if ( familyName != null )
  {
    familyName = resolveFamilyName( familyName, style );
  }
  try
  {
    return FontFactory.getFont( familyName, encoding, size, style, color );
  }
  catch ( ExceptionConverter e )
  {
    // TODO manage options of font not found + add some logs
    return new Font( Font.UNDEFINED, size, style, color );
  }
}
fr.opensagres.xdocreport.itext.extension.fontAbstractFontRegistry

Most used methods

  • initFontRegistryIfNeeded
  • resolveFamilyName

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • findViewById (Activity)
  • getSystemService (Context)
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now