Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: core/src/fxge/android/fpf_skiafontmgr.cpp

Issue 1346843005: Merge to XFA: Add a missing #include that's needed for call to FXSYS_tolower. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "../../../include/fxcrt/fx_ext.h"
7 #include "fx_fpf.h" 8 #include "fx_fpf.h"
8 #if _FX_OS_ == _FX_ANDROID_ 9 #if _FX_OS_ == _FX_ANDROID_
9 #define FPF_SKIAMATCHWEIGHT_NAME1 62 10 #define FPF_SKIAMATCHWEIGHT_NAME1 62
10 #define FPF_SKIAMATCHWEIGHT_NAME2 60 11 #define FPF_SKIAMATCHWEIGHT_NAME2 60
11 #define FPF_SKIAMATCHWEIGHT_1 16 12 #define FPF_SKIAMATCHWEIGHT_1 16
12 #define FPF_SKIAMATCHWEIGHT_2 8 13 #define FPF_SKIAMATCHWEIGHT_2 8
13 #include "fpf_skiafontmgr.h" 14 #include "fpf_skiafontmgr.h"
14 #include "fpf_skiafont.h" 15 #include "fpf_skiafont.h"
15 #ifdef __cplusplus 16 #ifdef __cplusplus
16 extern "C" { 17 extern "C" {
(...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 } 535 }
535 if (pOS2 && (pOS2->ulCodePageRange1 & (1 << 31))) { 536 if (pOS2 && (pOS2->ulCodePageRange1 & (1 << 31))) {
536 pFontDesc->m_dwStyle |= FXFONT_SYMBOLIC; 537 pFontDesc->m_dwStyle |= FXFONT_SYMBOLIC;
537 } 538 }
538 pFontDesc->m_dwCharsets = FPF_SkiaGetFaceCharset(pOS2); 539 pFontDesc->m_dwCharsets = FPF_SkiaGetFaceCharset(pOS2);
539 pFontDesc->m_iFaceIndex = face->face_index; 540 pFontDesc->m_iFaceIndex = face->face_index;
540 pFontDesc->m_iGlyphNum = face->num_glyphs; 541 pFontDesc->m_iGlyphNum = face->num_glyphs;
541 } 542 }
542 void CFPF_SkiaFontMgr::OutputSystemFonts() {} 543 void CFPF_SkiaFontMgr::OutputSystemFonts() {}
543 #endif 544 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698