summaryrefslogtreecommitdiff
path: root/src/wx/fonts_dialog.cc
AgeCommit message (Collapse)Author
2025-02-09Remove unnecessary wx_ptrCarl Hetherington
It was only ever used for wxDialog subclasses, which can be stack-allocated.
2024-09-03Remove use of wxT in favour of char_to_wx().Carl Hetherington
The wxWidgets docs advise against its use these days.
2024-09-03Remove some implicit conversions between wxString and std::string.Carl Hetherington
2024-01-09Move ScopeGuard into libdcp.Carl Hetherington
2023-11-12Replace deprecated leaf() with filename().Carl Hetherington
2023-10-09Use dcp::filesystem to wrap filesystem calls and fix_long_pathCarl Hetherington
anything that is passed to read_file() from libcxml. This should fix #2623 and other similar problems.
2023-04-25Cleanup: remove some unnecessary includes.Carl Hetherington
2023-01-14Add wx_ptr and use it instead of ScopeGuard in a lot of places.Carl Hetherington
2023-01-14Use ScopeGuard more.Carl Hetherington
2022-07-01Restore use of SystemFontDialog so that system fonts can be selected on ↵Carl Hetherington
Windows (#491).
2022-06-07Rearrange subtitle font management.Carl Hetherington
With this change each subtitle coming out of the player has a reference to a dcpomatic::Font that belongs to the TextContent. This hopefully solves a few problems which all basically stemmed from the fact that previously the decoders/player were deciding what the font ID in the output DCP would be - they can't do that properly.
2022-04-22Use libdcp's warnings.hCarl Hetherington
2022-04-21Disable warnings around all wx includes.Carl Hetherington
2022-04-21Tidying.Carl Hetherington
2022-01-16Add some missing header includes.Luke Granger-Brown
<memory> is needed for std::*_ptr, and <algorithm> for std::transform.
2021-12-25Allow user to add .ttc font files.Carl Hetherington
2021-05-03C++11 tidying.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2019-05-10Put Font and Screen into dcpomatic namespace.Carl Hetherington
2019-02-01Allow loading of OTF files.Carl Hetherington
2019-01-27Remove specification of italic/bold fonts (#1451); synthesis will be used ↵v2.13.110Carl Hetherington
instead.
2018-12-08Support buttons.Carl Hetherington
2018-07-23More automated renaming.Carl Hetherington
ActiveCaptions -> ActiveText BitmapCaption -> BitmapText ContentCaption -> ContentText ContentTextCaption -> ContentStringText TextCaptionFileContent -> StringTextFileContent TextCaptionFileDecoder -> StringTextFileDecoder TextCaptionFile -> StringTextFile TextCaption -> StringText PlayerCaption -> PlayerText CaptionContent -> TextContent CaptionDecoder -> TextDecoder CaptionPanel -> TextPanel CaptionView -> TextView CaptionAppearanceDialog -> SubtitleAppearanceDialog CaptionType -> TextType
2018-07-21Basics of multiple captions per content so that DCPContent canCarl Hetherington
hold subs and closed captions.
2018-07-19Clean up after previous commit.Carl Hetherington
2018-07-19Rename Subtitle -> TextCarl Hetherington
sed -i "s/SubtitleContent/TextContent/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc sed -i "s/SubtitleDecoder/TextDecoder/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc sed -i "s/subtitle_content/text_content/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript src/wx/wscript sed -i "s/subtitle_decoder/text_decoder/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript mv src/lib/subtitle_decoder.cc src/lib/text_decoder.cc mv src/lib/subtitle_decoder.h src/lib/text_decoder.h mv src/lib/subtitle_content.cc src/lib/text_content.cc mv src/lib/subtitle_content.h src/lib/text_content.h mv src/lib/dcp_subtitle_decoder.cc src/lib/dcp_text_decoder.cc mv src/lib/dcp_subtitle_decoder.h src/lib/dcp_text_decoder.h mv src/lib/dcp_subtitle_content.cc src/lib/dcp_text_content.cc mv src/lib/dcp_subtitle_content.h src/lib/dcp_text_content.h mv src/lib/text_subtitle_content.cc src/lib/text_text_content.cc mv src/lib/text_subtitle_content.h src/lib/text_text_content.h mv src/lib/text_subtitle_decoder.cc src/lib/text_text_decoder.cc mv src/lib/text_subtitle_decoder.h src/lib/text_text_decoder.h mv src/wx/timeline_subtitle_content_view.cc src/wx/timeline_text_content_view.cc mv src/wx/timeline_subtitle_content_view.h src/wx/timeline_text_content_view.h
2016-11-19No-op; rename a whole load of wx constants to their shorter equivalents.Carl Hetherington
2016-06-20Fix missing code to display italic / bold font names.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-05-18Subtitle rearrangements.Carl Hetherington
2015-11-02Fix incorrect preview of italic subtitles (#728).Carl Hetherington
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.
2015-09-16Rename update_sensitivity to setup_sensitivity for consistency.Carl Hetherington
2015-09-14Lots of #include <iostream>s for Arch.Carl Hetherington
2015-08-18Better default font directories on Linux and OS X.Carl Hetherington
2015-08-18Add custom dialog to select system fonts on Windows (#491).Carl Hetherington
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-06-09Hide Font members behind accessors.Carl Hetherington
2015-06-09Add hint about > 640kB font files (#588).Carl Hetherington
2015-02-07Update sensitivity of Set File button correctly.Carl Hetherington
2014-12-20Basic pass-through of font information when using DCP subtitles.Carl Hetherington
2014-12-16Allow setting of font files.Carl Hetherington
2014-12-15Start of Fonts dialog for setting up subtitle fonts.Carl Hetherington