KiCad PCB EDA Suite
Loading...
Searching...
No Matches
test_pdf_unicode_plot.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <wx/filename.h>
#include <wx/filefn.h>
#include <wx/ffile.h>
#include <wx/utils.h>
#include <wx/image.h>
#include <zlib.h>
#include <plotters/plotters_pslike.h>
#include <advanced_config.h>
#include <render_settings.h>
#include <trigo.h>
#include <math/util.h>
#include <font/font.h>
#include <font/stroke_font.h>
#include <qa_utils/file_utils.h>
#include <qa_utils/wx_utils/unit_test_utils.h>
#include <qa_utils/pdf_test_utils.h>

Go to the source code of this file.

Classes

struct  STROKE_TEXT_BLOCK
 

Functions

 BOOST_AUTO_TEST_CASE (PlotMultilingualAllStylesMappings)
 
 BOOST_AUTO_TEST_CASE (PlotMultilingualText)
 
 BOOST_AUTO_TEST_CASE (PlotMultilingualTextBold)
 
 BOOST_AUTO_TEST_CASE (PlotMultilingualTextItalic)
 
 BOOST_AUTO_TEST_CASE (PlotMultilingualTextBoldItalic)
 
 BOOST_AUTO_TEST_CASE (GlyphBBoxIncludesOffsetAndStrokeWidth)
 
 BOOST_AUTO_TEST_CASE (PlotMultilingualTextWithYOffset)
 
 BOOST_AUTO_TEST_CASE (PlotOutlineFontEmbedding)
 
static std::vector< double > ExtractStrokeTextOriginsX (const std::string &aBuffer)
 
 BOOST_AUTO_TEST_CASE (PlotStrokeTextTabStopMatchesFont)
 
 BOOST_AUTO_TEST_CASE (StrokeFontVerticalAlignmentMatchesScreen)
 
 BOOST_AUTO_TEST_CASE (StrokeFontWordSpacingMatchesGlyphAdvance)
 
static std::vector< STROKE_TEXT_BLOCK > ExtractStrokeTextBlocks (const std::string &aBuffer)
 
 BOOST_AUTO_TEST_CASE (StrokeFontSuperSubMatchesFontMetrics)
 
 BOOST_AUTO_TEST_CASE (StrokeFontSubscriptRightAlignEndsOnMargin)
 
 BOOST_AUTO_TEST_CASE (SetDashZeroWidthNoIllegalDashArray)
 
 BOOST_AUTO_TEST_CASE (SetDashNonZeroWidthKeepsDashArray)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/15]

◆ BOOST_AUTO_TEST_CASE() [2/15]

◆ BOOST_AUTO_TEST_CASE() [3/15]

◆ BOOST_AUTO_TEST_CASE() [4/15]

◆ BOOST_AUTO_TEST_CASE() [5/15]

◆ BOOST_AUTO_TEST_CASE() [6/15]

◆ BOOST_AUTO_TEST_CASE() [7/15]

◆ BOOST_AUTO_TEST_CASE() [8/15]

◆ BOOST_AUTO_TEST_CASE() [9/15]

◆ BOOST_AUTO_TEST_CASE() [10/15]

◆ BOOST_AUTO_TEST_CASE() [11/15]

◆ BOOST_AUTO_TEST_CASE() [12/15]

◆ BOOST_AUTO_TEST_CASE() [13/15]

◆ BOOST_AUTO_TEST_CASE() [14/15]

◆ BOOST_AUTO_TEST_CASE() [15/15]

◆ ExtractStrokeTextBlocks()

static std::vector< STROKE_TEXT_BLOCK > ExtractStrokeTextBlocks ( const std::string & aBuffer)
static

Definition at line 846 of file test_pdf_unicode_plot.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().

◆ ExtractStrokeTextOriginsX()

static std::vector< double > ExtractStrokeTextOriginsX ( const std::string & aBuffer)
static

Definition at line 498 of file test_pdf_unicode_plot.cpp.

References end.

Referenced by BOOST_AUTO_TEST_CASE().