Calculate border size in aspect keeping code by using AdjustWindowRect
[mplayer/glamo.git] / libass / ass_library.h
blobecf46f342ea0914634337b3307a61a0272832e74
1 // -*- c-basic-offset: 8; indent-tabs-mode: t -*-
2 // vim:ts=8:sw=8:noet:ai:
3 /*
4 * Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com>
6 * This file is part of libass.
8 * libass is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * libass is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License along
19 * with libass; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23 #ifndef LIBASS_LIBRARY_H
24 #define LIBASS_LIBRARY_H
26 typedef struct ass_fontdata_s {
27 char* name;
28 char* data;
29 int size;
30 } ass_fontdata_t;
32 struct ass_library_s {
33 char* fonts_dir;
34 int extract_fonts;
35 char** style_overrides;
37 ass_fontdata_t* fontdata;
38 int num_fontdata;
41 #endif /* LIBASS_LIBRARY_H */