Skip to content

Releases: iseahound/TextRender

v1.9.3

22 Nov 21:14
04fb563
Compare
Choose a tag to compare
  • Fixes a long-standing bug where instances of TextRender randomly disappear. This was because when the monitor configuration was reset, such as plugging a laptop into an external monitor, the TextRender instance got moved to the desktop, behind every other window.

v1.9.2

20 Jul 17:47
38edc4b
Compare
Choose a tag to compare

The following bug appears as a result of the fixes applied in v1.9.1

  • Fixes a popup that appears when the time parameter is set and the user middle clicks calling Blank() after the object is destroyed.

v1.9.1

20 Jul 17:26
39f4a5c
Compare
Choose a tag to compare
  • Fixes an infinite loop when the display size changes
  • Fixes an invalid method that reduced the rendering speed by half.

v1.9

18 Jul 13:41
13a5914
Compare
Choose a tag to compare

Lots of new tests have been added! New examples (or old ones cleaned up)!

New

  • Updated to use GDI+ v2 for maximum compatibility with Gdip_All and ImagePut.
  • A new screen parameter has been added to specify the x y offsets relative to a monitor index or hMonitor.
  • TextRender is now DPI aware and will scale correctly on multimonitor systems.
  • Introduced reference counting, so the script exits when all instances of TextRender are destroyed.

Bugfixes

  • The codebase has been refactored to keep track of the memory state. These changes fix most bugs.
    • 0 - No backing memory
    • 1 - Memory initialized, not drawn on
    • 2 - Drawing, not yet rendered to screen.
    • 3 - Rendered to screen. Prepare to clear.
  • No longer throws popups on Windows 7
  • Screen resolution changes, such as plugging in a laptop will now redraw images and keep the existing timers
  • Generating a random color is now faster (was a major source of lag)
  • TextRenderDesktop is much more reliable now. (TextRenderWallpaper remains unfixable)
  • Negative screen coordinates are properly accounted for
  • Dragging a TextRender window with the mouse no longer prevents rendering (asynchronous window procedures)
  • Fix a circular reference preventing deletion of the TextRender object

TextRender is considered to be a complete project and is in long term support mode. Keep posted for more updates!

v1.8

13 Jun 20:32
0e81547
Compare
Choose a tag to compare

Support for AutoHotkey v2

  • Add NoActivate() window style to prevent focus being stolen.
  • Add Sleep(sleep_time, wait_time).
  • Conform #RRGGBBAA to CSS4 spec. Was previously aarrggbb.
  • Default() is changed to Right-click on close.
  • Margins and Justification have been thoroughly tested and fixed.

Bugfixes

  • Creating a new instance of TextRender() with no parameters no longer calls Render().
  • Calling Render() a second time now correctly blanks the screen.
  • Script no longer crashes when #MaxThreads is reached.
  • Restore background when using dropshadow.
  • Global Labels have been removed.
  • Fix possible collision in this.status using rng.
  • Fix Draw("") producing strange artifacts.
  • Justification values (1-3) are now working properly.
  • WindowProc uses critical threads, preventing critical read/write errors.

2 new demos have been included. Old demos can still be found in Release v1.6

v1.7

07 Mar 15:22
da02399
Compare
Choose a tag to compare

Thanks for keeping up with the long release cycles.

  • It is now possible to initialize without certain mouse events using .None() and .Default()
  • Removed features from Subtitle.ahk have been readded to TextRender.
    • This includes Show, Hide, AlwaysOnTop, and ClickThrough.
  • Renamed Sleep() to Wait().
  • Wait() now waits the specified time in the last call.
  • Save() no longer overwrites images with the same timestamp.
  • Increased the speed of clearing the screen.
  • A colorkey can be specified in ImageRender using the k:0xFF0000 parameter.
  • Window edges will no longer contain a row of transparent pixels.
  • WM_DisplayChange correctly redraws with the correct time remaining.
  • Text justification has changed from 0-2 to 1-3. It is recommended to use values like j:left.
  • The canvas borders are now better defined. Text and images should no longer be cut off.
  • Copying text will always search for the last text string.
  • Fix DPI awareness not being correctly set in Draw().
  • FreeMemory() has been fixed and can now be called at anytime.
  • Repeated calls to Flush() no longer trigger CanvasChange.

Demos have not been included in this release. Please see the zip file in v1.6.

v1.6

09 Dec 16:24
34d4177
Compare
Choose a tag to compare

ImageRender is now a part of TextRender.

  • Ability to draw GDI+ bitmaps with ImageRender.
  • Add OnEvent for "CanvasChange".
  • Fix DPI awareness not extending in the positive x and y direction.

v1.5

09 Dec 16:24
1dc372b
Compare
Choose a tag to compare

Multi-monitor & DPI awareness support for Windows 10.

  • It is now possible to draw using negative coordinates onto a second screen.
  • Middle Click and Right Click displays can no longer be covered by the main render.
  • Improve compatibility with #Warn.
  • Removed an unnecessary graphics clear to speed up initialization.

v1.4

09 Dec 16:23
ca84707
Compare
Choose a tag to compare

Major speed and memory improvements this release.

  • 2x speed increase when rendering text to screen by removing slow GUID calls.
  • Over 3x speed increase when rendering small text boxes by clipping undrawn areas.
  • As a side effect of clipping undrawn areas, memory usage has decreased greatly by ~80% for small applications.
  • Use 8x8 AntiAliasing which produces better edges compared to 8x4.
  • Fixed a major memory leak impacting scripts running for several days.

v1.3

09 Dec 16:23
1715a1c
Compare
Choose a tag to compare
  • New alternative to Render(), use Fade(time1, time2) after drawing to slowly fade in and fade out the text.
  • Font can now be a path to an OTF or TTF file. This allows fonts to be used without installing.
  • Set the rounded corner radius to maximum via r:max.
  • Fix justify left not working.
  • Ensure compatibility with ANSI versions of AutoHotkey.