widget/FontRange.h
author Ethan Hugg <ethanhugg@gmail.com>
Fri, 06 Mar 2015 19:05:11 -0800
changeset 232377 df5ecdd940d482f80183e5080bd6824bd3b81129
parent 226878 bae702058e42f9c4dbc74bba2dff935175c795e9
child 252586 91d6e262b662a0b4e47358665e222d3927337af9
permissions -rw-r--r--
Bug 1140648 - WebRTC check codec config max frame rate is set before using r=jesup

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef mozilla_FontRange_h_
#define mozilla_FontRange_h_

namespace mozilla {

struct FontRange
{
  FontRange()
    : mStartOffset(0)
    , mFontSize(0)
  {
  }

  int32_t mStartOffset;
  nsString mFontName;
  gfxFloat mFontSize; // in device pixels
};

}

#endif // mozilla_FontRange_h_