Compare commits
	
		
			2 commits
		
	
	
		
			86c9c20b49
			...
			622cf1349e
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							 | 
						622cf1349e | ||
| 
							 | 
						e43875e66d | 
					 3 changed files with 8 additions and 8 deletions
				
			
		
							
								
								
									
										6
									
								
								Cargo.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								Cargo.lock
									
										
									
										generated
									
									
									
								
							| 
						 | 
				
			
			@ -1521,9 +1521,9 @@ dependencies = [
 | 
			
		|||
 | 
			
		||||
[[package]]
 | 
			
		||||
name = "servicepoint"
 | 
			
		||||
version = "0.15.1"
 | 
			
		||||
version = "0.15.2"
 | 
			
		||||
source = "registry+https://github.com/rust-lang/crates.io-index"
 | 
			
		||||
checksum = "2800caad491cb44f67e5dd5b8c61ece368eecfe588155d03c7d9864acbad6919"
 | 
			
		||||
checksum = "7d1e88713031e003dc3ee708dbb282e36714eee466a12d311d0e2e24c61c7118"
 | 
			
		||||
dependencies = [
 | 
			
		||||
 "bitvec",
 | 
			
		||||
 "bzip2",
 | 
			
		||||
| 
						 | 
				
			
			@ -1538,7 +1538,7 @@ dependencies = [
 | 
			
		|||
 | 
			
		||||
[[package]]
 | 
			
		||||
name = "servicepoint-simulator"
 | 
			
		||||
version = "0.2.2"
 | 
			
		||||
version = "0.2.3"
 | 
			
		||||
dependencies = [
 | 
			
		||||
 "clap",
 | 
			
		||||
 "env_logger",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,13 +1,13 @@
 | 
			
		|||
[package]
 | 
			
		||||
name = "servicepoint-simulator"
 | 
			
		||||
version = "0.2.2"
 | 
			
		||||
version = "0.2.3"
 | 
			
		||||
edition = "2021"
 | 
			
		||||
publish = true
 | 
			
		||||
license = "GPL-3.0-or-later"
 | 
			
		||||
keywords = ["cccb", "cccb-servicepoint", "cli"]
 | 
			
		||||
description = "A simulator for the Service Point display."
 | 
			
		||||
homepage = "https://git.berlin.ccc.de/servicepoint/servicepoint-simulator"
 | 
			
		||||
repository = "https://git.berlin.ccc.de/servicepoint/servicepoint-simulator"
 | 
			
		||||
repository = "https://git.berlin.ccc.de/servicepoint/servicepoint-simulator.git"
 | 
			
		||||
readme = "README.md"
 | 
			
		||||
rust-version = "1.80.0"
 | 
			
		||||
resolver = "2"
 | 
			
		||||
| 
						 | 
				
			
			@ -20,7 +20,7 @@ clap = { version = "4.5", features = ["derive"] }
 | 
			
		|||
thiserror = "2.0"
 | 
			
		||||
 | 
			
		||||
# package parsing
 | 
			
		||||
servicepoint = { features = ["all_compressions"], version = "0.15.1" }
 | 
			
		||||
servicepoint = { features = ["all_compressions"], version = "0.15.2" }
 | 
			
		||||
 | 
			
		||||
# font rendering
 | 
			
		||||
font-kit = "0.14.2"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -102,8 +102,8 @@ impl FontRenderer8x8 {
 | 
			
		|||
        for y in 0..TILE_SIZE {
 | 
			
		||||
            for x in 0..TILE_SIZE {
 | 
			
		||||
                let canvas_val = canvas.pixels[x + y * TILE_SIZE] != 0;
 | 
			
		||||
                let bitmap_x = (offset.x + x) as isize;
 | 
			
		||||
                let bitmap_y = (offset.y + y) as isize;
 | 
			
		||||
                let bitmap_x = offset.x + x;
 | 
			
		||||
                let bitmap_y = offset.y + y;
 | 
			
		||||
                if !bitmap.set_optional(bitmap_x, bitmap_y, canvas_val) {
 | 
			
		||||
                    return Err(OutOfBounds(x, y));
 | 
			
		||||
                }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue