Coverage Report

Created: 2026-07-30 07:17

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/poppler/splash/SplashFontFile.cc
Line
Count
Source
1
//========================================================================
2
//
3
// SplashFontFile.cc
4
//
5
//========================================================================
6
7
//========================================================================
8
//
9
// Modified under the Poppler project - http://poppler.freedesktop.org
10
//
11
// All changes made under the Poppler project to this file are licensed
12
// under GPL version 2 or later
13
//
14
// Copyright (C) 2006 Takashi Iwai <tiwai@suse.de>
15
// Copyright (C) 2008, 2022, 2025, 2026 Albert Astals Cid <aacid@kde.org>
16
// Copyright (C) 2019 Christian Persch <chpe@src.gnome.org>
17
// Copyright (C) 2022 Oliver Sander <oliver.sander@tu-dresden.de>
18
// Copyright (C) 2024-2026 g10 Code GmbH, Author: Sune Stolborg Vuorela <sune@vuorela.dk>
19
//
20
// To see a description of the changes please see the Changelog file that
21
// came with your tarball or type make ChangeLog if you are building from git
22
//
23
//========================================================================
24
25
#include <config.h>
26
27
#include "SplashFontFile.h"
28
#include "SplashFontFileID.h"
29
30
//------------------------------------------------------------------------
31
// SplashFontFile
32
//------------------------------------------------------------------------
33
34
0
SplashFontFile::SplashFontFile(std::unique_ptr<SplashFontFileID> idA, std::unique_ptr<SplashFontSrc> srcA) : src(std::move(srcA))
35
0
{
36
0
    id = std::move(idA);
37
0
    doAdjustMatrix = false;
38
0
}
39
40
0
SplashFontFile::~SplashFontFile() = default;
41
42
//
43
44
0
SplashFontSrc::SplashFontSrc(const std::string &file) : m_data(file) { }
45
0
SplashFontSrc::SplashFontSrc(std::vector<unsigned char> &&data) : m_data(std::move(data)) { }
46
47
0
SplashFontSrc::~SplashFontSrc() = default;