Page MenuHomeSolus

Update libansilove to 1.1.5

Authored by algent on Nov 7 2019, 9:04 PM.




  • Move background transparency operations in the output function
  • Allow setting transparent background for retina images
  • Add extern declaration for fonts data arrays
  • Use type size_t for loop and structIndex variables
  • Force xbin_fontsize to 16 when using default 80x25 font
  • Return ANSILOVE_FORMAT_ERROR if xbin_fontsize > 32
  • Omit implicit return in the example program
  • Use a switch statement to set 24-bit background and foreground values
  • Remove superfluous background color allocations in the Binary, PCBoard and XBin loaders
  • Modify the PCBoard loader to use a cursor pointer to parse input
  • Infer font height to 16 in the XBin loader, the default in absence of font data

Signed-off-by: Algent Albrahimi <>

Test Plan

Installed, build and run ansilove and check if it is working as expected.

Diff Detail

R4755 libansilove
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Nov 7 2019, 9:04 PM
algent requested review of this revision.Nov 7 2019, 9:04 PM
algent updated this revision to Diff 18200.
algent edited the test plan for this revision. (Show Details)

Fix syntax

JoshStrobl accepted this revision.Nov 8 2019, 9:38 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM, thanks!

This revision is now accepted and ready to land.Nov 8 2019, 9:38 AM
This revision was automatically updated to reflect the committed changes.