Skip to content

Commit

Permalink
Fix #418: ShowSMTPE/ShowTime alignment - NO_WIN_GDI case
Browse files Browse the repository at this point in the history
  • Loading branch information
pinterf committed Jan 5, 2025
1 parent e3625c9 commit 1d21468
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion avs_core/filters/text-overlay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ PVideoFrame __stdcall ShowSMPTE::GetFrame(int n, IScriptEnvironment* env)
#else
const bool utf8 = true;
auto s_utf8 = charToUtf8(text, utf8);
SimpleTextOutW(current_font.get(), vi, frame, x + 2, y + 2, s_utf8, true, textcolor, halocolor, false, 5, chromaplacement);
SimpleTextOutW(current_font.get(), vi, frame, x + 2, y + 2, s_utf8, true, textcolor, halocolor, false, 2 /* V baseline H center */, chromaplacement);
#endif

return frame;
Expand Down
10 changes: 9 additions & 1 deletion distrib/Readme/readme_history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,18 @@ This file contains all change log, with detailed examples and explanations.
The "rst" version of the documentation just lists changes in brief.
For online documentation check https://avisynthplus.readthedocs.io/en/latest/

20241213 3.7.3 post ??
20250105 3.7.3 post ??
----------------------
- Fix #418: ShowSMTPE/ShowTime alignment - NO_WIN_GDI case (e.g. Posix)
- Bump year to 2025
- Posix: Detect additional plugindirs from LD_LIBRARY_PATH environment variable
- avisynth.h: add ListAutoloadDirs() to internal interface declarations
- #413 Add ListAutoloadDirs() script function returing a LF delimited string with directory list.
- Use system installs of DevIL and SoundTouch on all platforms, remove in-tree binaries/code
- SubTitle to accept real LF (``\r``) or CR LF (``\r\n``) control characters for line break.
- Fix FadeIn, which behaved like FadeIn2
- Config: add LOONGARCH support
- SoundTouch: Increased the max number of channels to 32ch from the old limit of 16ch.
- Make configurable user plugindir more robust.
There was no need for it to use ENV${HOME} in CMakeLists.txt,
when the usage of $HOME/.avisynth in the autoload defaults already
Expand Down
2 changes: 1 addition & 1 deletion distrib/docs/english/source/avisynthdoc/changelist374.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Bugfixes
- Fix #370: array size assert error in ConvertToYUY2 when internally ConvertToYUV422 is called
- Leave _ColorRange frame property as-is, when using matrix names "PC.709" or "PC.601", for example in ConvertToRGB32.
- Fix FadeIn, which behaved like FadeIn2

- Fix #418: ShowSMTPE/ShowTime alignment - NO_WIN_GDI case (e.g. Posix)

Optimizations
~~~~~~~~~~~~~
Expand Down

0 comments on commit 1d21468

Please sign in to comment.