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

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

Issue 1707923002: Expand all paths to be based off pdfium/ directory (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Sort headers Created 4 years, 10 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
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 <algorithm> 7 #include <algorithm>
8 8
9 #include "core/include/fpdfdoc/fpdf_doc.h" 9 #include "core/include/fpdfdoc/fpdf_doc.h"
10 #include "core/include/fpdfdoc/fpdf_vt.h" 10 #include "core/include/fpdfdoc/fpdf_vt.h"
11 #include "pdf_vt.h" 11 #include "core/src/fpdfdoc/pdf_vt.h"
12 12
13 const uint8_t gFontSizeSteps[] = {4, 6, 8, 9, 10, 12, 14, 18, 20, 13 const uint8_t gFontSizeSteps[] = {4, 6, 8, 9, 10, 12, 14, 18, 20,
14 25, 30, 35, 40, 45, 50, 55, 60, 70, 14 25, 30, 35, 40, 45, 50, 55, 60, 70,
15 80, 90, 100, 110, 120, 130, 144}; 15 80, 90, 100, 110, 120, 130, 144};
16 #define PVT_RETURN_LENGTH 1 16 #define PVT_RETURN_LENGTH 1
17 #define PVT_DEFAULT_FONTSIZE 18.0f 17 #define PVT_DEFAULT_FONTSIZE 18.0f
18 #define PVTWORD_SCRIPT_NORMAL 0 18 #define PVTWORD_SCRIPT_NORMAL 0
19 #define PVTWORD_SCRIPT_SUPER 1 19 #define PVTWORD_SCRIPT_SUPER 1
20 #define PVTWORD_SCRIPT_SUB 2 20 #define PVTWORD_SCRIPT_SUB 2
21 #define PVT_FONTSCALE 0.001f 21 #define PVT_FONTSCALE 0.001f
(...skipping 1794 matching lines...) Expand 10 before | Expand all | Expand 10 after
1816 if (pSection->m_SecInfo.pSecProps) { 1816 if (pSection->m_SecInfo.pSecProps) {
1817 *pSection->m_SecInfo.pSecProps = section.SecProps; 1817 *pSection->m_SecInfo.pSecProps = section.SecProps;
1818 } 1818 }
1819 if (pSection->m_SecInfo.pWordProps) { 1819 if (pSection->m_SecInfo.pWordProps) {
1820 *pSection->m_SecInfo.pWordProps = section.WordProps; 1820 *pSection->m_SecInfo.pWordProps = section.WordProps;
1821 } 1821 }
1822 return TRUE; 1822 return TRUE;
1823 } 1823 }
1824 return FALSE; 1824 return FALSE;
1825 } 1825 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698