/*
Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
- This program is free software; you can redistribute it and/or modify
+ This file is part of libdcp.
+
+ libdcp is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
- This program is distributed in the hope that it will be useful,
+ libdcp is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
+ along with libdcp. If not, see <http://www.gnu.org/licenses/>.
*/
#include "interop_subtitle_asset.h"
string ("theFontId"),
false,
false,
+ false,
dcp::Colour (255, 255, 255),
39,
1.0,
dcp::HALIGN_CENTER,
0.15,
dcp::VALIGN_BOTTOM,
+ dcp::DIRECTION_LTR,
"My jacket was Idi Amin's",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFontId"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
39,
1.0,
dcp::HALIGN_CENTER,
0.21,
dcp::VALIGN_BOTTOM,
+ dcp::DIRECTION_LTR,
"My corset was H.M. The Queen's",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFontId"),
false,
false,
+ false,
dcp::Colour (255, 255, 255),
39,
1.0,
dcp::HALIGN_CENTER,
0.15,
dcp::VALIGN_BOTTOM,
+ dcp::DIRECTION_LTR,
"My large wonderbra",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFontId"),
false,
false,
+ false,
dcp::Colour (255, 255, 255),
39,
1.0,
dcp::HALIGN_CENTER,
0.15,
dcp::VALIGN_BOTTOM,
+ dcp::DIRECTION_LTR,
"Once belonged to the Shah",
dcp::BORDER,
dcp::Colour (0, 0, 0),
BOOST_CHECK_EQUAL (s.back(), dcp::SubtitleString (
string ("theFontId"),
false,
- false,
+ true,
+ true,
dcp::Colour (255, 255, 255),
39,
1.0,
dcp::HALIGN_CENTER,
0.15,
dcp::VALIGN_BOTTOM,
+ dcp::DIRECTION_LTR,
"And these are Roy Hattersley's jeans",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.89,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"At afternoon tea with John Peel",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.95,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"I enquired if his accent was real",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.89,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"He said \"out of the house",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.95,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"I'm incredibly scouse",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.89,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"At home it depends how I feel.\"",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.95,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"I spent a long weekend in Brighton",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.89,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_RTL,
"With the legendary Miss Enid Blyton",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.95,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_TTB,
"She said \"you be Noddy",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.89,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_BTT,
"That curious creature the Sphinx",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.95,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"Is smarter than anyone thinks",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
false,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.89,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"It sits there and smirks",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
false,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.95,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"And you don't think it works",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
false,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.89,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"Then when you're not looking, it winks.",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
false,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.95,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"When it snows you will find Sister Sledge",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
false,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.89,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"Out mooning, at night, on the ledge",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
false,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.95,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"One storey down",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.89,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"HELLO",
dcp::BORDER,
dcp::Colour (0, 0, 0),
string ("theFont"),
true,
false,
+ false,
dcp::Colour (255, 255, 255),
42,
1.0,
dcp::HALIGN_CENTER,
0.95,
dcp::VALIGN_TOP,
+ dcp::DIRECTION_LTR,
"WORLD",
dcp::BORDER,
dcp::Colour (0, 0, 0),