org.apache.fop.fonts.autodetect

Class FontInfoFinder


public class FontInfoFinder
extends java.lang.Object

Attempts to determine correct FontInfo

Method Summary

EmbedFontInfo
find(URL fontUrl, FontResolver resolver, FontCache fontCache)
Attempts to determine EmbedFontInfo from a given font file.

Method Details

find

public EmbedFontInfo find(URL fontUrl,
                          FontResolver resolver,
                          FontCache fontCache)
Attempts to determine EmbedFontInfo from a given font file.
Parameters:
fontUrl - font URL. Assumed to be local.
resolver - font resolver used to resolve font
fontCache - font cache (may be null)
Returns:
newly created embed font info

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.