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

Side by Side Diff: core/src/fpdfdoc/doc_vt.cpp

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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 | « core/src/fpdfdoc/doc_viewerPreferences.cpp ('k') | core/src/fpdfdoc/doc_vtmodule.cpp » ('j') | 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/fpdfdoc/fpdf_doc.h" 7 #include "core/include/fpdfdoc/fpdf_doc.h"
8 #include "../../include/fpdfdoc/fpdf_vt.h" 8 #include "core/include/fpdfdoc/fpdf_vt.h"
9 #include "pdf_vt.h" 9 #include "pdf_vt.h"
10
10 const uint8_t gFontSizeSteps[] = {4, 6, 8, 9, 10, 12, 14, 18, 20, 11 const uint8_t gFontSizeSteps[] = {4, 6, 8, 9, 10, 12, 14, 18, 20,
11 25, 30, 35, 40, 45, 50, 55, 60, 70, 12 25, 30, 35, 40, 45, 50, 55, 60, 70,
12 80, 90, 100, 110, 120, 130, 144}; 13 80, 90, 100, 110, 120, 130, 144};
13 #define PVT_RETURN_LENGTH 1 14 #define PVT_RETURN_LENGTH 1
14 #define PVT_DEFAULT_FONTSIZE 18.0f 15 #define PVT_DEFAULT_FONTSIZE 18.0f
15 #define PVTWORD_SCRIPT_NORMAL 0 16 #define PVTWORD_SCRIPT_NORMAL 0
16 #define PVTWORD_SCRIPT_SUPER 1 17 #define PVTWORD_SCRIPT_SUPER 1
17 #define PVTWORD_SCRIPT_SUB 2 18 #define PVTWORD_SCRIPT_SUB 2
18 #define PVT_FONTSCALE 0.001f 19 #define PVT_FONTSCALE 0.001f
19 #define PVT_PERCENT 0.01f 20 #define PVT_PERCENT 0.01f
(...skipping 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after
1821 if (pSection->m_SecInfo.pSecProps) { 1822 if (pSection->m_SecInfo.pSecProps) {
1822 *pSection->m_SecInfo.pSecProps = section.SecProps; 1823 *pSection->m_SecInfo.pSecProps = section.SecProps;
1823 } 1824 }
1824 if (pSection->m_SecInfo.pWordProps) { 1825 if (pSection->m_SecInfo.pWordProps) {
1825 *pSection->m_SecInfo.pWordProps = section.WordProps; 1826 *pSection->m_SecInfo.pWordProps = section.WordProps;
1826 } 1827 }
1827 return TRUE; 1828 return TRUE;
1828 } 1829 }
1829 return FALSE; 1830 return FALSE;
1830 } 1831 }
OLDNEW
« no previous file with comments | « core/src/fpdfdoc/doc_viewerPreferences.cpp ('k') | core/src/fpdfdoc/doc_vtmodule.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698