You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
528 B

// fontEncodingPool.cpp
//
// Part of KDVI - A DVI previewer for the KDE desktop environemt
//
// (C) 2003 Stefan Kebekus
// Distributed under the GPL
#include <../config.h>
#ifdef HAVE_FREETYPE
#include "fontEncodingPool.h"
fontEncodingPool::fontEncodingPool(void)
{
}
fontEncoding *fontEncodingPool::findByName(const QString &name)
{
fontEncoding *ptr = dictionary.find( name );
if (ptr == 0) {
ptr = new fontEncoding(name);
dictionary.insert(name, ptr );
}
return ptr;
}
#endif // HAVE_FREETYPE