mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			249 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			249 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include <stdio.h>
 | 
						|
#include <stdlib.h>
 | 
						|
 | 
						|
#include "common/font.h"
 | 
						|
 | 
						|
int main(int argc, char **argv)
 | 
						|
{
 | 
						|
	if (argc < 2) {
 | 
						|
		printf("Usage: %s <font-description> (e.g. 'sans 10')\n", argv[0]);
 | 
						|
		exit(1);
 | 
						|
	}
 | 
						|
	printf("height=%d\n", font_height(argv[1]));
 | 
						|
}
 |