Bug 1852149 Part 1 - Add margin-rule pref r=firefox-style-system-reviewers,emilio
[gecko.git] / widget / FontRange.h
blobe5ee079a629384679084829b1e61e32ba20f1651
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_FontRange_h_
8 #define mozilla_FontRange_h_
10 #include "gfxTypes.h" // for gfxFloat
12 namespace mozilla {
14 struct FontRange {
15 FontRange() : mStartOffset(0), mFontSize(0) {}
17 int32_t mStartOffset;
18 nsString mFontName;
19 gfxFloat mFontSize; // in device pixels
22 } // namespace mozilla
24 #endif // mozilla_FontRange_h_