pdfium/constants/font_encodings.cpp
Tom Sepez 909a33cd76 Resolve some simple clang-tidy warnings.
These include:

- use of nullptr
- use of `= default` for trivial methods
- use of nested namespaces
- use of emplace_back()
- matching /*variable=*/ comments with actual name.

Change-Id: I8a0639f442fd0fed39d3061b83d855302d7b7d7e
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/111170
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
2023-08-10 19:17:01 +00:00

16 lines
501 B
C++

// Copyright 2022 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "constants/font_encodings.h"
namespace pdfium::font_encodings {
// ISO 32000-1:2008 spec, table D1.
const char kMacRomanEncoding[] = "MacRomanEncoding";
const char kWinAnsiEncoding[] = "WinAnsiEncoding";
const char kPDFDocEncoding[] = "PDFDocEncoding";
const char kMacExpertEncoding[] = "MacExpertEncoding";
} // namespace pdfium::font_encodings