import { assetProvider } from '../util/assets.provider.js';
export async function fontGet(req) {
    const targetFile = `fonts/${req.params.fontStack}/${req.params.range}.pbf`;
    return assetProvider.serve(req, targetFile, 'application/x-protobuf');
}
export async function fontList(req) {
    return assetProvider.serve(req, 'fonts/fonts.json', 'application/json');
}
//# sourceMappingURL=fonts.js.map