Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
einstein1969
- Expert
- Posts: 976
- Joined: 15 Jun 2012 13:16
- Location: Italy, Rome
#1
Post
by einstein1969 » 20 Apr 2014 19:45
Hi,
I found this fast antialiasing method. It's a base for a study on more complex methods.
This is a demo step by step.
Code: Select all
@echo off & setlocal EnableDelayedExpansion
mode 110,60 & color 0f
set "base=ÛÛÛÛÛÛ"
set "sect=%base%"
for /L %%N in (1,1,50) do set "sect= !sect! "
set "sect= !sect!"
For /L %%n in (1,1,50) do set "s=!s!%sect%
cls & echo %S% & pause
set s=!s: %base% =²%base%²!
cls & echo %s% & pause
set s=!s: ²%base%² =±²%base%²±!
cls & echo %S% & pause
set s=!s: ±²%base%²± =°±²%base%²±°!
cls & echo %S% & pause
set s=!s: °±²%base%²±° =/°±²%base%²±°/!
cls & echo %S% & pause
goto :eof
einstein1969
-
npocmaka_
- Posts: 517
- Joined: 24 Jun 2013 17:10
- Location: Bulgaria
-
Contact:
#2
Post
by npocmaka_ » 21 Apr 2014 12:51
it will be more interesting if give more background information...
-
einstein1969
- Expert
- Posts: 976
- Joined: 15 Jun 2012 13:16
- Location: Italy, Rome
#3
Post
by einstein1969 » 23 Apr 2014 12:01
npocmaka_ wrote:it will be more interesting if give more background information...
What do you mean for background information?
This is the article that i started:
http://distractionware.com/blog/2008/04/sub-pixel-message-generator/http://alienryderflex.com/sub_pixel/Use of font 1 pixel larger!!!! crazy!!!
Lucida console(dos font) use this!
but the argument is more generic...
PS. This article on wikipedia is for who don't have know...
Code: Select all
http://en.wikipedia.org/wiki/Aliasing
http://en.wikipedia.org/wiki/Spatial_anti-aliasing
http://en.wikipedia.org/wiki/ClearType
http://en.wikipedia.org/wiki/Subpixel_rendering
einstein1969
-
einstein1969
- Expert
- Posts: 976
- Joined: 15 Jun 2012 13:16
- Location: Italy, Rome
#4
Post
by einstein1969 » 23 Apr 2014 12:15
This is a DOS window with Lucida console 2 (1x2 font) with Tranparency implemented. This is very fast algos and use the property of clear type of Lucida console font.

Ps: This i realized using only the ECHO command

einstein1969