Fix incorrect preview of italic subtitles (#728).
authorCarl Hetherington <cth@carlh.net>
Mon, 2 Nov 2015 22:47:57 +0000 (22:47 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 2 Nov 2015 22:47:57 +0000 (22:47 +0000)
commit9bf2cf3509380663e6943f6b0d22dbec6002c332
tree86999381629818072353ffb15d78f5815efabf69
parent8a673bcf0cd26268899face63723c0f201fabcce
Fix incorrect preview of italic subtitles (#728).

This requires fonts to be configured with their italic versions so
that the italic font can be given to FontConfig and hence used to
render text.  Bold font configuration is also added here although
bold subtitles aren't yet supported.
19 files changed:
ChangeLog
LiberationSans-Regular.ttf [deleted file]
src/lib/font.cc
src/lib/font.h
src/lib/font_files.cc [new file with mode: 0644]
src/lib/font_files.h [new file with mode: 0644]
src/lib/player_subtitles.cc
src/lib/reel_writer.cc
src/lib/render_subtitles.cc
src/lib/subtitle_content.cc
src/lib/wscript
src/wx/font_files_dialog.cc [new file with mode: 0644]
src/wx/font_files_dialog.h [new file with mode: 0644]
src/wx/fonts_dialog.cc
src/wx/fonts_dialog.h
src/wx/hints_dialog.cc
src/wx/screen_dialog.h
src/wx/wscript
test/srt_subtitle_test.cc