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

Side by Side Diff: ui/gfx/harfbuzz_font_skia.h

Issue 891183003: Extract the Skia implementation of HarfBuzz font to its own file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
(Empty)
1 // Copyright 2015 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
5 #ifndef UI_GFX_HARFBUZZ_FONT_SKIA_H_
6 #define UI_GFX_HARFBUZZ_FONT_SKIA_H_
7
8 #include "third_party/harfbuzz-ng/src/hb.h"
9 #include "third_party/skia/include/core/SkScalar.h"
10 #include "ui/gfx/font_render_params.h"
11
12 class SkTypeface;
13
14 namespace gfx {
15
16 hb_font_t* CreateHarfBuzzFont(SkTypeface* skia_face,
17 SkScalar text_size,
18 const FontRenderParams& params,
19 bool background_is_transparent);
20
21 } // namespace gfx
22
23 #endif // UI_GFX_HARFBUZZ_FONT_SKIA_H_
OLDNEW
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/harfbuzz_font_skia.cc » ('j') | ui/gfx/harfbuzz_font_skia.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698