Instrumented libraries: overhaul RPATH handling.
[chromium-blink-merge.git] / ppapi / api / private / ppb_flash_font_file.idl
blobb7c39b4b00d9684caac2b904eccd5d9fead7c053
1 /* Copyright (c) 2012 The Chromium 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 */
6 /**
7 * This file contains the <code>PPB_Flash_FontFile</code> interface.
8 */
10 label Chrome {
11 M24 = 0.1
14 interface PPB_Flash_FontFile {
15 /* Returns a resource identifying a font file corresponding to the given font
16 * request after applying the browser-specific fallback.
18 PP_Resource Create(
19 [in] PP_Instance instance,
20 [in] PP_BrowserFont_Trusted_Description description,
21 [in] PP_PrivateFontCharset charset);
23 /* Determines if a given resource is Flash font file.
25 PP_Bool IsFlashFontFile([in] PP_Resource resource);
27 /* Returns the requested font table.
28 * |output_length| should pass in the size of |output|. And it will return
29 * the actual length of returned data. |output| could be NULL in order to
30 * query the size of the buffer size needed. In that case, the input value of
31 * |output_length| is ignored.
32 * Note: it is Linux only and fails directly on other platforms.
34 PP_Bool GetFontTable(
35 [in] PP_Resource font_file,
36 [in] uint32_t table,
37 [out] mem_t output,
38 [out] uint32_t output_length);