1 // Copyright 2017 The PDFium Authors 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 FXJS_CJS_FONT_H_ 8 #define FXJS_CJS_FONT_H_ 9 10 #include "fxjs/cjs_object.h" 11 12 class CJS_Font final : public CJS_Object { 13 public: 14 static void DefineJSObjects(CFXJS_Engine* pEngine); 15 16 CJS_Font() = delete; 17 18 private: 19 static uint32_t ObjDefnID; 20 static const JSConstSpec ConstSpecs[]; 21 }; 22 23 #endif // FXJS_CJS_FONT_H_ 24