tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

IOSPlatformFontList.mm (822B)


      1 /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*-
      2 * This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 #import <UIKit/UIKit.h>
      7 #include "IOSPlatformFontList.h"
      8 
      9 IOSPlatformFontList::IOSPlatformFontList() : CoreTextFontList() {}
     10 
     11 IOSPlatformFontList::~IOSPlatformFontList() {}
     12 
     13 void IOSPlatformFontList::LookupSystemFont(
     14    mozilla::LookAndFeel::FontID aSystemFontID, nsACString& aSystemFontName,
     15    gfxFontStyle& aFontStyle) {
     16  MOZ_CRASH("UNIMPLEMENTED");
     17 }
     18 
     19 nsTArray<std::pair<const char**, uint32_t>>
     20 IOSPlatformFontList::GetFilteredPlatformFontLists() {
     21  nsTArray<std::pair<const char**, uint32_t>> fontLists;
     22 
     23  return fontLists;
     24 }