Mercurial > mplayer.hg
annotate dvdread/ifo_print.h @ 26591:0f069e41d8d2
Allow inexact font family matching.
In SSA/ASS fonts are sometimes referenced by their "full name",
which is usually a concatenation of family name and font
style (ex. Ottawa Bold). Full name is available from
FontConfig pattern element FC_FULLNAME, but it is never
used for font matching.
Therefore, I'm removing words from the end of the name one
by one, and adding shortened names to the pattern. It seems
that the first value (full name in this case) has
precedence in matching.
author | eugeni |
---|---|
date | Thu, 01 May 2008 00:34:26 +0000 |
parents | 1542693b2a30 |
children |
rev | line source |
---|---|
24050
1542693b2a30
Sync libdvdread with version 0.9.5 (cosmetic changes).
diego
parents:
20983
diff
changeset
|
1 /* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */ |
7029 | 2 #ifndef IFO_PRINT_H_INCLUDED |
3 #define IFO_PRINT_H_INCLUDED | |
4 | |
5 /* | |
6 * Copyright (C) 2000, 2001 Björn Englund <d4bjorn@dtek.chalmers.se>, | |
7 * Håkan Hjort <d95hjort@dtek.chalmers.se> | |
8 * | |
9 * This program is free software; you can redistribute it and/or modify | |
10 * it under the terms of the GNU General Public License as published by | |
11 * the Free Software Foundation; either version 2 of the License, or | |
12 * (at your option) any later version. | |
13 * | |
14 * This program is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 * GNU General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU General Public License | |
20 * along with this program; if not, write to the Free Software | |
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 */ | |
23 | |
20983 | 24 #include <dvdread/ifo_types.h> |
25 #include <dvdread/dvd_reader.h> | |
7029 | 26 |
27 #ifdef __cplusplus | |
28 extern "C" { | |
29 #endif | |
30 | |
31 /** | |
32 * This file provides example functions for printing information about the IFO | |
33 * file to stdout. | |
34 */ | |
35 | |
36 /** | |
37 * Print the complete parsing information for the given file. | |
38 */ | |
39 | |
40 /* ifoPrint(dvd, title); */ | |
41 void ifoPrint(dvd_reader_t *, int); | |
42 | |
43 void ifoPrint_VMGI_MAT(vmgi_mat_t *); | |
44 void ifoPrint_VTSI_MAT(vtsi_mat_t *); | |
45 | |
46 void ifoPrint_PTL_MAIT(ptl_mait_t *); | |
47 void ifoPrint_VTS_ATRT(vts_atrt_t *); | |
48 void ifoPrint_TT_SRPT(tt_srpt_t *); | |
49 void ifoPrint_VTS_PTT_SRPT(vts_ptt_srpt_t *); | |
50 void ifoPrint_PGC(pgc_t *); | |
51 void ifoPrint_PGCIT(pgcit_t *); | |
52 void ifoPrint_PGCI_UT(pgci_ut_t *); | |
15874 | 53 void ifoPrint_VTS_TMAPT(vts_tmapt_t *); |
7029 | 54 void ifoPrint_C_ADT(c_adt_t *); |
55 void ifoPrint_VOBU_ADMAP(vobu_admap_t *); | |
56 | |
57 #ifdef __cplusplus | |
58 }; | |
59 #endif | |
60 #endif /* IFO_PRINT_H_INCLUDED */ |