1 // Copyright 2016 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FPDFAPI_RENDER_CHARPOSLIST_H_ 8 #define CORE_FPDFAPI_RENDER_CHARPOSLIST_H_ 9 10 #include <vector> 11 12 #include "core/fxcrt/fx_system.h" 13 #include "third_party/base/span.h" 14 15 class CPDF_Font; 16 class TextCharPos; 17 18 std::vector<TextCharPos> GetCharPosList(pdfium::span<const uint32_t> char_codes, 19 pdfium::span<const float> char_pos, 20 CPDF_Font* font, 21 float font_size); 22 23 #endif // CORE_FPDFAPI_RENDER_CHARPOSLIST_H_ 24