Skip to content

Instantly share code, notes, and snippets.

@andlabs
andlabs / whatsthefont-files-slant.c
Last active January 3, 2017 08:30 — forked from chearon/whatsthefont.c
Compare FT and OSX font weights for a font
#include <CoreFoundation/CoreFoundation.h>
#include <CoreGraphics/CoreGraphics.h>
#include <CoreText/CoreText.h>
int
main(int argc, char** argv)
{
if (argc == 2) {
char* filepath = *(argv+1);