QRCodeSourceQRCodeOutputText

class Text

Text renderer using Unicode half-height block characters

Definitions

BLOCKS

Unicode block characters for different combinations

Implementation

BLOCKS = {
	[false, false] => " ",   # Both light - single space
	[false, true]  => "▄",   # Top light, bottom dark
	[true, false]  => "▀",   # Top dark, bottom light  
	[true, true]   => "█"    # Both dark - full block
}.freeze