Pange seems to use ascent + descent instead of height.
Thanks Bobby Powers <bobbypowers@gmail.com> for noticing this!
This commit is contained in:
		
							parent
							
								
									82494f248d
								
							
						
					
					
						commit
						55adf0aad1
					
				
							
								
								
									
										2
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								st.c
									
									
									
									
									
								
							| @ -2493,7 +2493,7 @@ xloadfont(Font *f, FcPattern *pattern) { | |||||||
| 	f->lbearing = 0; | 	f->lbearing = 0; | ||||||
| 	f->rbearing = f->match->max_advance_width; | 	f->rbearing = f->match->max_advance_width; | ||||||
| 
 | 
 | ||||||
| 	f->height = f->match->height; | 	f->height = f->ascent + f->descent; | ||||||
| 	f->width = f->lbearing + f->rbearing; | 	f->width = f->lbearing + f->rbearing; | ||||||
| 
 | 
 | ||||||
| 	return 0; | 	return 0; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Christoph Lohmann
						Christoph Lohmann