KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_outline_font.cpp File Reference
#include <memory>
#include <vector>
#include <wx/filename.h>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <font/font.h>
#include <font/glyph.h>
#include <font/outline_font.h>

Go to the source code of this file.

Functions

static wxString getTestFontPath (const wxString &aFileName)
 
static KIFONT::OUTLINE_FONTloadTestOutlineFont (const wxString &aFontName, const wxString &aFileName)
 
 BOOST_AUTO_TEST_CASE (SymbolFontRendersAsciiGlyphs)
 
 BOOST_AUTO_TEST_CASE (UnicodeFontKeepsUnicodeCharmap)
 
 BOOST_AUTO_TEST_CASE (FailedGlyphLoadReported)
 
 BOOST_AUTO_TEST_CASE (InterlinePreservesFractionalFontHeight)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( FailedGlyphLoadReported )

◆ BOOST_AUTO_TEST_CASE() [2/4]

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( SymbolFontRendersAsciiGlyphs )

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( UnicodeFontKeepsUnicodeCharmap )

◆ getTestFontPath()

static wxString getTestFontPath ( const wxString & aFileName)
static

Definition at line 34 of file test_outline_font.cpp.

References KI_TEST::GetTestDataRootDir(), and getTestFontPath().

Referenced by getTestFontPath(), and loadTestOutlineFont().

◆ loadTestOutlineFont()

static KIFONT::OUTLINE_FONT * loadTestOutlineFont ( const wxString & aFontName,
const wxString & aFileName )
static