Revert "Initial font size issue."
This reverts commit 424202798b02554092ba84dd59fb7b79b59b7b75.
This commit is contained in:
		
							parent
							
								
									fa9a459972
								
							
						
					
					
						commit
						e44832408b
					
				
							
								
								
									
										3
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								st.c
									
									
									
									
									
								
							| @ -3488,9 +3488,6 @@ xloadfonts(char *fontstr, double fontsize) | |||||||
| 	if (usedfontsize < 0) { | 	if (usedfontsize < 0) { | ||||||
| 		FcPatternGetDouble(dc.font.match->pattern, | 		FcPatternGetDouble(dc.font.match->pattern, | ||||||
| 		                   FC_PIXEL_SIZE, 0, &fontval); | 		                   FC_PIXEL_SIZE, 0, &fontval); | ||||||
| 		FcPatternAddDouble(pattern, FC_PIXEL_SIZE, fontval); |  | ||||||
| 		if (xloadfont(&dc.font, pattern)) |  | ||||||
| 			die("st: can't open font %s\n", fontstr); |  | ||||||
| 		usedfontsize = fontval; | 		usedfontsize = fontval; | ||||||
| 		if (fontsize == 0) | 		if (fontsize == 0) | ||||||
| 			defaultfontsize = fontval; | 			defaultfontsize = fontval; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user