7#ifndef PDF_CID_TO_GID_MAP_H
8#define PDF_CID_TO_GID_MAP_H
26 using iterator = CIDToGIDMap::const_iterator;
36 bool TryMapCIDToGID(
unsigned cid,
unsigned&
gid)
const;
40 unsigned GetSize()
const;
41 iterator begin()
const;
48 using PdfCIDToGIDMapConstPtr = std::shared_ptr<const PdfCIDToGIDMap>;
SPDX-FileCopyrightText: (C) 2005 Dominik Seichter domseichter@web.de SPDX-FileCopyrightText: (C) 2020...
Helper class to handle the /CIDToGIDMap entry in a Type2 CID font or /TrueType fonts implicit CID to ...
Definition PdfCIDToGIDMap.h:24
This class represents a PDF indirect Object in memory.
Definition PdfObject.h:35
Convenient type for char array storage and/or buffer with std::string compatibility.
Definition basetypes.h:38
SPDX-FileCopyrightText: (C) 2022 Francesco Pretto ceztko@gmail.com SPDX-License-Identifier: LGPL-2....
Definition basetypes.h:16
@ Create
Create a new file or truncate existing one for writing/reading.
std::map< unsigned, unsigned > CIDToGIDMap
A backing storage for a CID to GID map.
Definition PdfCIDToGIDMap.h:18