nextcloud/lib/private/preview/font.php

19 lines
381 B
PHP

<?php
/**
* @copyright Olivier Paroz 2015 <owncloud@interfasys.ch>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
namespace OC\Preview;
// .otf, .ttf and .pfb
class Font extends Bitmap {
/**
* {@inheritDoc}
*/
public function getMimeType() {
return '/application\/(?:font-sfnt|x-font$)/';
}
}