mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04: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]));
|
|
}
|