# new SCREEN and TextDemo release

**URL:** <https://psychtoolbox.discourse.group/t/new-screen-and-textdemo-release/1140>\
**Category:** Uncategorized\
**Created:** [June 26, 2001, 8:49pm UTC](https://psychtoolbox.discourse.group/t/new-screen-and-textdemo-release/1140 "2001-06-26T20:49:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [June 26, 2001, 8:49pm UTC](https://psychtoolbox.discourse.group/t/new-screen-and-textdemo-release/1140/1 "2001-06-26T20:49:42Z")

</div>

This is another release of SCREEN and TextDemo.m. The new files  
are attached in a compressed folder. Changes since the last interum  
release are described below.  
  
Best,  
  
Allen  
  
  
SCREEN.dll  
  
- Fixed a bug where SCREEN 'OpenWindow' would not correctly initilize  
the background color to the specified value.  
  
- Changed SCREEN 'DrawText' alignment. The y coordinate now specifies  
the position of the vertical baseline of the text, as on the Mac.  
  
TextDemo.m  
  
- Added conditionals to choose font names according to platform. The  
same TextDemo.m file will now run on either platform.  
  
- Removed SCREEN 'FillRect' call which is uneccesary now that  
'OpenWindow' correctly initializes the background.  
  
- Reverted to text coordinates in Mac version of the file, now that  
font positioning rules for both platforms are the same.  
  
- The function definition in the version released last Friday was  
commented out. The line has been restored.
