Merge pull request #13648 from oparoz/sfnt-fonts-preview
Add support for font previewsremotes/origin/external-backend-ondemand
commit
04eef93b25
@ -0,0 +1,19 @@
|
||||
<?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$)/';
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue