mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	Fixes minor typos
This commit is contained in:
		
							parent
							
								
									b0f8f56650
								
							
						
					
					
						commit
						bd9b267562
					
				@ -214,7 +214,6 @@ select#font-select, select#font-select option {
 | 
			
		||||
 | 
			
		||||
                                        canvas.width = textWidth;
 | 
			
		||||
                                        canvas.height = paragraphs.length * textHeight*1.35; //for tails
 | 
			
		||||
                                        // ctx.font = `${fontSize / 2}px ${font}`;
 | 
			
		||||
                                        ctx.font = `${fontSize}px ${font}`;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -227,7 +226,6 @@ select#font-select, select#font-select option {
 | 
			
		||||
                                        console.log(canvas.height);
 | 
			
		||||
 | 
			
		||||
                                        paragraphs.forEach(paragraph => {
 | 
			
		||||
                                            // ctx.letterSpacing = "50px";
 | 
			
		||||
                                            ctx.fillText(paragraph, 0, y);
 | 
			
		||||
                                            y += fontSize;
 | 
			
		||||
                                        });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user