code stringlengths 0 56.1M | repo_name stringlengths 3 57 | path stringlengths 2 176 | language stringclasses 672
values | license stringclasses 8
values | size int64 0 56.8M |
|---|---|---|---|---|---|
/* Copyright (C) 2005, 2007, 2008, 2013 by George Williams */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of conditions and ... | whupdup/frame | real/third_party/freetype-2.12.0/src/tools/ftrandom/ftrandom.c | C++ | gpl-3.0 | 17,270 |
#!/usr/bin/env python
#
#
# FreeType 2 glyph name builder
#
# Copyright (C) 1996-2022 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing ... | whupdup/frame | real/third_party/freetype-2.12.0/src/tools/glnames.py | Python | gpl-3.0 | 106,054 |
#!/usr/bin/env python3
"""Generate distribution archives for a given FreeType 2 release."""
from __future__ import print_function
import argparse
import atexit
import os
import shutil
import subprocess
import sys
import tempfile
_TOP_DIR = os.path.abspath(os.path.join(__file__, "..", "..", ".."))
_SCRIPT_DIR = os.pa... | whupdup/frame | real/third_party/freetype-2.12.0/src/tools/make_distribution_archives.py | Python | gpl-3.0 | 6,188 |
# Files that don't get a copyright, or which are taken from elsewhere.
#
# All lines in this file are patterns, including the comment lines; this
# means that e.g. `FTL.TXT' matches all files that have this string in
# the file name (including the path relative to the current directory,
# always starting with `./').
#
... | whupdup/frame | real/third_party/freetype-2.12.0/src/tools/no-copyright | none | gpl-3.0 | 1,225 |
/*
* gcc -DFT2_BUILD_LIBRARY -I../../include -o test_afm test_afm.c \
* -L../../objs/.libs -lfreetype -lz -static
*/
#include <freetype/freetype.h>
#include <freetype/internal/ftstream.h>
#include <freetype/internal/psaux.h>
void dump_fontinfo( AFM_FontInfo fi )
{
FT_UInt i;
printf( "This AFM is... | whupdup/frame | real/third_party/freetype-2.12.0/src/tools/test_afm.c | C++ | gpl-3.0 | 3,969 |
#include <freetype/freetype.h>
#include <freetype/ftbbox.h>
#include <time.h> /* for clock() */
/* SunOS 4.1.* does not define CLOCKS_PER_SEC, so include <sys/param.h> */
/* to get the HZ macro which is the equivalent. */
#if defined(__sun__) && !defined(SVR4) && !defined(__SVR4)
#include ... | whupdup/frame | real/third_party/freetype-2.12.0/src/tools/test_bbox.c | C++ | gpl-3.0 | 4,191 |
#include <freetype/freetype.h>
#include <freetype/fttrigon.h>
#include <math.h>
#include <stdio.h>
#define PI 3.14159265358979323846
#define SPI (PI/FT_ANGLE_PI)
/* the precision in 16.16 fixed-point checks. Expect between 2 and 5 */
/* noise LSB bits during operations, due to rounding errors.. */
#defin... | whupdup/frame | real/third_party/freetype-2.12.0/src/tools/test_trig.c | C++ | gpl-3.0 | 4,826 |
#!/bin/sh
# Run the `update-copyright-year' script on all files in the git repository,
# taking care of exceptions stored in file `no-copyright'.
topdir=`git rev-parse --show-toplevel`
toolsdir=$topdir/src/tools
git ls-files --full-name $topdir \
| sed 's|^|../../|' \
| grep -vFf $toolsdir... | whupdup/frame | real/third_party/freetype-2.12.0/src/tools/update-copyright | none | gpl-3.0 | 388 |
eval '(exit $?0)' && eval 'exec perl -wS -i "$0" ${1+"$@"}'
& eval 'exec perl -wS -i "$0" $argv:q'
if 0;
# Copyright (C) 2015-2022 by
# Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. ... | whupdup/frame | real/third_party/freetype-2.12.0/src/tools/update-copyright-year | none | gpl-3.0 | 4,272 |
#
# FreeType 2 TrueType module definition
#
# Copyright (C) 1996-2022 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, o... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/module.mk | mk | gpl-3.0 | 687 |
#
# FreeType 2 TrueType driver configuration rules
#
# Copyright (C) 1996-2022 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, ... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/rules.mk | mk | gpl-3.0 | 1,888 |
/****************************************************************************
*
* truetype.c
*
* FreeType TrueType driver component (body only).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified,... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/truetype.c | C++ | gpl-3.0 | 896 |
/****************************************************************************
*
* ttdriver.c
*
* TrueType font driver implementation (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttdriver.c | C++ | gpl-3.0 | 20,532 |
/****************************************************************************
*
* ttdriver.h
*
* High-level TrueType driver interface (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* mod... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttdriver.h | C++ | gpl-3.0 | 748 |
/****************************************************************************
*
* tterrors.h
*
* TrueType error codes (specification only).
*
* Copyright (C) 2001-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and ... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/tterrors.h | C++ | gpl-3.0 | 981 |
/****************************************************************************
*
* ttgload.c
*
* TrueType Glyph Loader (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed un... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttgload.c | C++ | gpl-3.0 | 99,559 |
/****************************************************************************
*
* ttgload.h
*
* TrueType Glyph Loader (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distr... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttgload.h | C++ | gpl-3.0 | 1,358 |
/****************************************************************************
*
* ttgxvar.c
*
* TrueType GX Font Variation loader
*
* Copyright (C) 2004-2022 by
* David Turner, Robert Wilhelm, Werner Lemberg, and George Williams.
*
* This file is part of the FreeType project, and may only be used,
* modifie... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttgxvar.c | C++ | gpl-3.0 | 124,102 |
/****************************************************************************
*
* ttgxvar.h
*
* TrueType GX Font Variation loader (specification)
*
* Copyright (C) 2004-2022 by
* David Turner, Robert Wilhelm, Werner Lemberg and George Williams.
*
* This file is part of the FreeType project, and may only be u... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttgxvar.h | C++ | gpl-3.0 | 13,544 |
/****************************************************************************
*
* ttinterp.c
*
* TrueType bytecode interpreter (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distr... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttinterp.c | C++ | gpl-3.0 | 222,576 |
/****************************************************************************
*
* ttinterp.h
*
* TrueType bytecode interpreter (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, ... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttinterp.h | C++ | gpl-3.0 | 21,871 |
/****************************************************************************
*
* ttobjs.c
*
* Objects manager (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttobjs.c | C++ | gpl-3.0 | 43,077 |
/****************************************************************************
*
* ttobjs.h
*
* Objects manager (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed ... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttobjs.h | C++ | gpl-3.0 | 12,050 |
/****************************************************************************
*
* ttpload.c
*
* TrueType-specific tables loader (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and dist... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttpload.c | C++ | gpl-3.0 | 16,462 |
/****************************************************************************
*
* ttpload.h
*
* TrueType-specific tables loader (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified,... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttpload.h | C++ | gpl-3.0 | 1,658 |
/****************************************************************************
*
* ttsubpix.c
*
* TrueType Subpixel Hinting.
*
* Copyright (C) 2010-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed unde... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttsubpix.c | C++ | gpl-3.0 | 32,091 |
/****************************************************************************
*
* ttsubpix.h
*
* TrueType Subpixel Hinting.
*
* Copyright (C) 2010-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed unde... | whupdup/frame | real/third_party/freetype-2.12.0/src/truetype/ttsubpix.h | C++ | gpl-3.0 | 3,848 |
#
# FreeType 2 Type1 module definition
#
# Copyright (C) 1996-2022 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, or d... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/module.mk | mk | gpl-3.0 | 677 |
#
# FreeType 2 Type1 driver configuration rules
#
# Copyright (C) 1996-2022 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, mod... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/rules.mk | mk | gpl-3.0 | 1,861 |
/****************************************************************************
*
* t1afm.c
*
* AFM support for Type 1 fonts (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distribut... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1afm.c | C++ | gpl-3.0 | 10,614 |
/****************************************************************************
*
* t1afm.h
*
* AFM support for Type 1 fonts (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and ... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1afm.h | C++ | gpl-3.0 | 1,285 |
/****************************************************************************
*
* t1driver.c
*
* Type 1 driver interface (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1driver.c | C++ | gpl-3.0 | 23,138 |
/****************************************************************************
*
* t1driver.h
*
* High-level Type 1 driver interface (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modif... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1driver.h | C++ | gpl-3.0 | 769 |
/****************************************************************************
*
* t1errors.h
*
* Type 1 error codes (specification only).
*
* Copyright (C) 2001-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and di... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1errors.h | C++ | gpl-3.0 | 969 |
/****************************************************************************
*
* t1gload.c
*
* Type 1 Glyph Loader (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed unde... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1gload.c | C++ | gpl-3.0 | 20,361 |
/****************************************************************************
*
* t1gload.h
*
* Type 1 Glyph Loader (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distrib... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1gload.h | C++ | gpl-3.0 | 1,193 |
/****************************************************************************
*
* t1load.c
*
* Type 1 font loader (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under ... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1load.c | C++ | gpl-3.0 | 80,366 |
/****************************************************************************
*
* t1load.h
*
* Type 1 font loader (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distribut... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1load.h | C++ | gpl-3.0 | 3,285 |
/****************************************************************************
*
* t1objs.c
*
* Type 1 objects manager (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed un... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1objs.c | C++ | gpl-3.0 | 17,386 |
/****************************************************************************
*
* t1objs.h
*
* Type 1 objects manager (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distr... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1objs.h | C++ | gpl-3.0 | 3,452 |
/****************************************************************************
*
* t1parse.c
*
* Type 1 parser (body).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the ... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1parse.c | C++ | gpl-3.0 | 15,788 |
/****************************************************************************
*
* t1parse.h
*
* Type 1 parser (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed u... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1parse.h | C++ | gpl-3.0 | 3,735 |
/****************************************************************************
*
* t1tokens.h
*
* Type 1 tokenizer (specification).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distribut... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/t1tokens.h | C++ | gpl-3.0 | 5,083 |
/****************************************************************************
*
* type1.c
*
* FreeType Type 1 driver component (body only).
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and ... | whupdup/frame | real/third_party/freetype-2.12.0/src/type1/type1.c | C++ | gpl-3.0 | 720 |
#
# FreeType 2 Type42 module definition
#
# Copyright (C) 2002-2022 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, modify, or ... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/module.mk | mk | gpl-3.0 | 672 |
#
# FreeType 2 Type42 driver configuration rules
#
# Copyright (C) 2002-2022 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, mo... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/rules.mk | mk | gpl-3.0 | 1,785 |
/****************************************************************************
*
* t42drivr.c
*
* High-level Type 42 driver interface (body).
*
* Copyright (C) 2002-2022 by
* Roberto Alameda.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of t... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/t42drivr.c | C++ | gpl-3.0 | 6,230 |
/****************************************************************************
*
* t42drivr.h
*
* High-level Type 42 driver interface (specification).
*
* Copyright (C) 2002-2022 by
* Roberto Alameda.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the t... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/t42drivr.h | C++ | gpl-3.0 | 739 |
/****************************************************************************
*
* t42error.h
*
* Type 42 error codes (specification only).
*
* Copyright (C) 2002-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and d... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/t42error.h | C++ | gpl-3.0 | 973 |
/****************************************************************************
*
* t42objs.c
*
* Type 42 objects manager (body).
*
* Copyright (C) 2002-2022 by
* Roberto Alameda.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType p... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/t42objs.c | C++ | gpl-3.0 | 19,224 |
/****************************************************************************
*
* t42objs.h
*
* Type 42 objects manager (specification).
*
* Copyright (C) 2002-2022 by
* Roberto Alameda.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the F... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/t42objs.h | C++ | gpl-3.0 | 2,452 |
/****************************************************************************
*
* t42parse.c
*
* Type 42 font parser (body).
*
* Copyright (C) 2002-2022 by
* Roberto Alameda.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType proj... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/t42parse.c | C++ | gpl-3.0 | 39,575 |
/****************************************************************************
*
* t42parse.h
*
* Type 42 font parser (specification).
*
* Copyright (C) 2002-2022 by
* Roberto Alameda.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the Free... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/t42parse.h | C++ | gpl-3.0 | 2,029 |
/****************************************************************************
*
* t42types.h
*
* Type 42 font data types (specification only).
*
* Copyright (C) 2002-2022 by
* Roberto Alameda.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/t42types.h | C++ | gpl-3.0 | 1,181 |
/****************************************************************************
*
* type42.c
*
* FreeType Type 42 driver component.
*
* Copyright (C) 2002-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distribute... | whupdup/frame | real/third_party/freetype-2.12.0/src/type42/type42.c | C++ | gpl-3.0 | 652 |
/****************************************************************************
*
* fnterrs.h
*
* Win FNT/FON error codes (specification only).
*
* Copyright (C) 2001-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
* modified, an... | whupdup/frame | real/third_party/freetype-2.12.0/src/winfonts/fnterrs.h | C++ | gpl-3.0 | 988 |
#
# FreeType 2 Windows FNT/FON module definition
#
# Copyright (C) 1996-2022 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing to use, mo... | whupdup/frame | real/third_party/freetype-2.12.0/src/winfonts/module.mk | mk | gpl-3.0 | 694 |
#
# FreeType 2 Windows FNT/FON driver configuration rules
#
# Copyright (C) 1996-2022 by
# David Turner, Robert Wilhelm, and Werner Lemberg.
#
# This file is part of the FreeType project, and may only be used, modified,
# and distributed under the terms of the FreeType project license,
# LICENSE.TXT. By continuing t... | whupdup/frame | real/third_party/freetype-2.12.0/src/winfonts/rules.mk | mk | gpl-3.0 | 1,664 |
/****************************************************************************
*
* winfnt.c
*
* FreeType font driver for Windows FNT/FON files
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
* Copyright 2003 Huw D M Davies for Codeweavers
* Copyright 2007 Dmitry Timoshkov fo... | whupdup/frame | real/third_party/freetype-2.12.0/src/winfonts/winfnt.c | C++ | gpl-3.0 | 35,525 |
/****************************************************************************
*
* winfnt.h
*
* FreeType font driver for Windows FNT/FON files
*
* Copyright (C) 1996-2022 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
* Copyright 2007 Dmitry Timoshkov for Codeweavers
*
* This file is part of the Free... | whupdup/frame | real/third_party/freetype-2.12.0/src/winfonts/winfnt.h | C++ | gpl-3.0 | 3,104 |
# Unit and regression tests for the FreeType library
## Quick Start
### Download test fonts
Run the `tests/scripts/download-fonts.py` script, which will
download test fonts to the `tests/data/` directory first.
### Build the test programs
The tests are only built with the Meson build system, and
are disabled by de... | whupdup/frame | real/third_party/freetype-2.12.0/tests/README.md | Markdown | gpl-3.0 | 484 |
#include <stdio.h>
#include <freetype/freetype.h>
#include <ft2build.h>
int
main( void )
{
FT_Library library;
FT_Face face = NULL;
/*
* We assume that `FREETYPE_TESTS_DATA_DIR` was set by `meson test`.
* Otherwise we default to `../tests/data`.
*
* TODO (David): Rewrite this to pass the test... | whupdup/frame | real/third_party/freetype-2.12.0/tests/issue-1063/main.c | C++ | gpl-3.0 | 1,074 |
test_issue_1063 = executable('issue-1063',
files([ 'issue-1063/main.c' ]),
dependencies: freetype_dep,
)
test_env = ['FREETYPE_TESTS_DATA_DIR='
+ join_paths(meson.current_source_dir(), 'data')]
test('issue-1063',
test_issue_1063,
env: test_env,
suite: 'regression')
# EOF
| whupdup/frame | real/third_party/freetype-2.12.0/tests/meson.build | build | gpl-3.0 | 297 |
#!/usr/bin/env python3
"""Download test fonts used by the FreeType regression test programs. These
will be copied to $FREETYPE/tests/data/ by default."""
import argparse
import collections
import hashlib
import io
import os
import requests
import sys
import zipfile
from typing import Callable, List, Optional, Tuple... | whupdup/frame | real/third_party/freetype-2.12.0/tests/scripts/download-test-fonts.py | Python | gpl-3.0 | 8,869 |
$! make FreeType 2 under OpenVMS
$!
$! Copyright (C) 2003-2022 by
$! David Turner, Robert Wilhelm, and Werner Lemberg.
$!
$! This file is part of the FreeType project, and may only be used, modified,
$! and distributed under the terms of the FreeType project license,
$! LICENSE.TXT. By continuing to use, modify, or di... | whupdup/frame | real/third_party/freetype-2.12.0/vms_make.com | com | gpl-3.0 | 36,034 |
/*
** Copyright (c) 2014-2020 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a copy
** of this software and/or associated documentation files (the "Materials"),
** to deal in the Materials without restriction, including without limitation
** the rights to use, copy, ... | whupdup/frame | real/third_party/spirv_reflect/include/spirv/unified1/spirv.h | C++ | gpl-3.0 | 128,688 |
/*
Copyright 2017-2022 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | whupdup/frame | real/third_party/spirv_reflect/spirv_reflect.c | C++ | gpl-3.0 | 173,933 |
/*
Copyright 2017-2022 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softw... | whupdup/frame | real/third_party/spirv_reflect/spirv_reflect.h | C++ | gpl-3.0 | 87,852 |
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h" | whupdup/frame | real/third_party/stb/stb_image.cpp | C++ | gpl-3.0 | 55 |
/* stb_image - v2.26 - public domain image loader - http://nothings.org/stb
no warranty implied; use at your own risk
Do this:
#define STB_IMAGE_IMPLEMENTATION
before you include this file in *one* C or C++ file to create the implementation.
// i.e. it should look like... | whupdup/frame | real/third_party/stb/stb_image.h | C++ | gpl-3.0 | 273,150 |
#define STB_IMAGE_RESIZE_IMPLEMENTATION
#include "stb_image_resize.h"
| whupdup/frame | real/third_party/stb/stb_image_resize.cpp | C++ | gpl-3.0 | 70 |
/* stb_image_resize - v0.97 - public domain image resizing
by Jorge L Rodriguez (@VinoBS) - 2014
http://github.com/nothings/stb
Written with emphasis on usability, portability, and efficiency. (No
SIMD or threads, so it be easily outperformed by libs that use those.)
Only scaling and translation is supp... | whupdup/frame | real/third_party/stb/stb_image_resize.h | C++ | gpl-3.0 | 116,516 |
#define TINYGLTF_IMPLEMENTATION
#include <tiny_gltf.h>
| whupdup/frame | real/third_party/tinygltf/tiny_gltf.cpp | C++ | gpl-3.0 | 55 |
//
// Header-only tiny glTF 2.0 loader and serializer.
//
//
// The MIT License (MIT)
//
// Copyright (c) 2015 - Present Syoyo Fujita, Aurélien Chatelain and many
// contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (t... | whupdup/frame | real/third_party/tinygltf/tiny_gltf.h | C++ | gpl-3.0 | 236,841 |
github: wolfpld
| whupdup/frame | real/third_party/tracy/.github/FUNDING.yml | YAML | gpl-3.0 | 16 |
name: gcc
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: Install linux libraries
if: ${... | whupdup/frame | real/third_party/tracy/.github/workflows/gcc.yml | YAML | gpl-3.0 | 1,374 |
name: Manual
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fix stupidity
run: |
cp AUTHORS AUTHORS.
cp LICENSE LICENSE.
- name: Compile LaTeX
uses: xu-chen... | whupdup/frame | real/third_party/tracy/.github/workflows/latex.yml | YAML | gpl-3.0 | 516 |
name: MSVC
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-with-vcpkg-integration:
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- uses: microsoft/setup-msbuild@v1.0.2
- name: Integrate vcpkg
run: vcpkg integrate install
- name: Pr... | whupdup/frame | real/third_party/tracy/.github/workflows/msvc.yml | YAML | gpl-3.0 | 3,122 |
.vs
*.opendb
*.db
*.vcxproj.user
x64
Release
Debug
_build
_compiler
tools/*
*.d
*.o
*.so
*.swp
imgui.ini
test/tracy_test
test/tracy_test.exe
*/build/unix/*-*
manual/t*.aux
manual/t*.log
manual/t*.out
manual/t*.pdf
manual/t*.synctex.gz
manual/t*.toc
manual/t*.bbl
manual/t*.blg
profiler/build/win32/packages
profiler/buil... | whupdup/frame | real/third_party/tracy/.gitignore | Git | gpl-3.0 | 585 |
Bartosz Taudul <wolf@nereid.pl>
Kamil Klimek <kamil.klimek@sharkbits.com> (initial find zone implementation)
Bartosz Szreder <zgredder@gmail.com> (view/worker split)
Arvid Gerstmann <dev@arvid-g.de> (compatibility fixes)
Rokas Kupstys <rokups@zoho.com> (co... | whupdup/frame | real/third_party/tracy/AUTHORS | none | gpl-3.0 | 1,511 |
cmake_minimum_required(VERSION 3.10)
project(Tracy LANGUAGES CXX)
find_package(Threads REQUIRED)
add_library(TracyClient TracyClient.cpp)
target_compile_features(TracyClient PUBLIC cxx_std_11)
target_include_directories(TracyClient SYSTEM PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<INSTALL_INTE... | whupdup/frame | real/third_party/tracy/CMakeLists.txt | Text | gpl-3.0 | 5,754 |
Note: There is no guarantee that version mismatched client and server will
be able to talk with each other. Network protocol breakages won't be listed
here.
v0.8.2 (2022-06-28)
-------------------
- Added support for debuginfod debug information services. Note that
since this depends on proper system configuration,... | whupdup/frame | real/third_party/tracy/NEWS | none | gpl-3.0 | 42,256 |
# Tracy Profiler
[](https://github.com/sponsors/wolfpld/)
### A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications.
Tracy supports profiling CPU (Direct support is provided for C, C++, and Lua integration. At the same... | whupdup/frame | real/third_party/tracy/README.md | Markdown | gpl-3.0 | 1,601 |
"Would be nice to have" list for 1.0 release:
=============================================
* Pack queue items tightly in the queues.
* Use level-of-detail system for plots.
* Use per-thread lock data structures.
* Use DTrace for BSD/OSX context switch capture.
| whupdup/frame | real/third_party/tracy/TODO | none | gpl-3.0 | 263 |
#ifndef __TRACY_HPP__
#define __TRACY_HPP__
#include "common/TracyColor.hpp"
#include "common/TracySystem.hpp"
#ifndef TRACY_ENABLE
#define ZoneNamed(x,y)
#define ZoneNamedN(x,y,z)
#define ZoneNamedC(x,y,z)
#define ZoneNamedNC(x,y,z,w)
#define ZoneTransient(x,y)
#define ZoneTransientN(x,y,z)
#define ZoneScoped
#de... | whupdup/frame | real/third_party/tracy/Tracy.hpp | C++ | gpl-3.0 | 16,348 |
#ifndef __TRACYC_HPP__
#define __TRACYC_HPP__
#include <stddef.h>
#include <stdint.h>
#include "client/TracyCallstack.h"
#include "common/TracyApi.h"
#ifdef __cplusplus
extern "C" {
#endif
TRACY_API void ___tracy_set_thread_name( const char* name );
#define TracyCSetThreadName( name ) ___tracy_set_thread_name( nam... | whupdup/frame | real/third_party/tracy/TracyC.h | C++ | gpl-3.0 | 16,843 |
//
// Tracy profiler
// ----------------
//
// For fast integration, compile and
// link with this source file (and none
// other) in your executable (or in the
// main DLL / shared object on multi-DLL
// projects).
//
// Define TRACY_ENABLE to enable profiler.
#include "common/TracySystem.cpp"
#ifd... | whupdup/frame | real/third_party/tracy/TracyClient.cpp | C++ | gpl-3.0 | 1,445 |
#ifndef __TRACYD3D11_HPP__
#define __TRACYD3D11_HPP__
#ifndef TRACY_ENABLE
#define TracyD3D11Context(device,queue) nullptr
#define TracyD3D11Destroy(ctx)
#define TracyD3D11ContextName(ctx, name, size)
#define TracyD3D11NewFrame(ctx)
#define TracyD3D11Zone(ctx, name)
#define TracyD3D11ZoneC(ctx, name, color)
#define... | whupdup/frame | real/third_party/tracy/TracyD3D11.hpp | C++ | gpl-3.0 | 16,965 |
#ifndef __TRACYD3D12_HPP__
#define __TRACYD3D12_HPP__
#ifndef TRACY_ENABLE
#define TracyD3D12Context(device, queue) nullptr
#define TracyD3D12Destroy(ctx)
#define TracyD3D12ContextName(ctx, name, size)
#define TracyD3D12NewFrame(ctx)
#define TracyD3D12Zone(ctx, cmdList, name)
#define TracyD3D12ZoneC(ctx, cmdList, n... | whupdup/frame | real/third_party/tracy/TracyD3D12.hpp | C++ | gpl-3.0 | 19,720 |
#ifndef __TRACYLUA_HPP__
#define __TRACYLUA_HPP__
// Include this file after you include lua headers.
#ifndef TRACY_ENABLE
#include <string.h>
namespace tracy
{
namespace detail
{
static inline int noop( lua_State* L ) { return 0; }
}
static inline void LuaRegister( lua_State* L )
{
lua_newtable( L );
lua... | whupdup/frame | real/third_party/tracy/TracyLua.hpp | C++ | gpl-3.0 | 12,761 |
#ifndef __TRACYOPENCL_HPP__
#define __TRACYOPENCL_HPP__
#if !defined TRACY_ENABLE
#define TracyCLContext(c, x) nullptr
#define TracyCLDestroy(c)
#define TracyCLContextName(c, x, y)
#define TracyCLNamedZone(c, x, y, z)
#define TracyCLNamedZoneC(c, x, y, z, w)
#define TracyCLZone(c, x)
#define TracyCLZoneC(c, x, y)
#d... | whupdup/frame | real/third_party/tracy/TracyOpenCL.hpp | C++ | gpl-3.0 | 18,552 |
#ifndef __TRACYOPENGL_HPP__
#define __TRACYOPENGL_HPP__
#if !defined TRACY_ENABLE || defined __APPLE__
#define TracyGpuContext
#define TracyGpuContextName(x,y)
#define TracyGpuNamedZone(x,y,z)
#define TracyGpuNamedZoneC(x,y,z,w)
#define TracyGpuZone(x)
#define TracyGpuZoneC(x,y)
#define TracyGpuZoneTransient(x,y,z)
#... | whupdup/frame | real/third_party/tracy/TracyOpenGL.hpp | C++ | gpl-3.0 | 13,347 |
#ifndef __TRACYVULKAN_HPP__
#define __TRACYVULKAN_HPP__
#if !defined TRACY_ENABLE
#define TracyVkContext(x,y,z,w) nullptr
#define TracyVkContextCalibrated(x,y,z,w,a,b) nullptr
#define TracyVkDestroy(x)
#define TracyVkContextName(c,x,y)
#define TracyVkNamedZone(c,x,y,z,w)
#define TracyVkNamedZoneC(c,x,y,z,w,a)
#define... | whupdup/frame | real/third_party/tracy/TracyVulkan.hpp | C++ | gpl-3.0 | 21,365 |
#ifdef _WIN32
# include <windows.h>
# include <io.h>
#else
# include <unistd.h>
#endif
#include <atomic>
#include <chrono>
#include <inttypes.h>
#include <mutex>
#include <signal.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include "../../common/TracyProt... | whupdup/frame | real/third_party/tracy/capture/src/capture.cpp | C++ | gpl-3.0 | 12,121 |
#ifdef TRACY_ENABLE
#include <atomic>
#include "../common/TracyAlloc.hpp"
#include "../common/TracyForceInline.hpp"
#include "../common/TracyYield.hpp"
namespace tracy
{
extern thread_local bool RpThreadInitDone;
extern std::atomic<int> RpInitDone;
extern std::atomic<int> RpInitLock;
tracy_no_inline static void In... | whupdup/frame | real/third_party/tracy/client/TracyAlloc.cpp | C++ | gpl-3.0 | 1,048 |
namespace tracy
{
#if defined __linux__ && defined __ARM_ARCH
static const char* DecodeArmImplementer( uint32_t v )
{
static char buf[16];
switch( v )
{
case 0x41: return "ARM";
case 0x42: return "Broadcom";
case 0x43: return "Cavium";
case 0x44: return "DEC";
case 0x46: return "Fujits... | whupdup/frame | real/third_party/tracy/client/TracyArmCpuTable.hpp | C++ | gpl-3.0 | 13,769 |
#include <new>
#include <stdio.h>
#include <string.h>
#include "TracyCallstack.hpp"
#include "TracyFastVector.hpp"
#include "TracyStringHelpers.hpp"
#include "../common/TracyAlloc.hpp"
#include "../common/TracyStackFrames.hpp"
#include "TracyDebug.hpp"
#ifdef TRACY_HAS_CALLSTACK
#if TRACY_HAS_CALLSTACK == 1
# ifndef... | whupdup/frame | real/third_party/tracy/client/TracyCallstack.cpp | C++ | gpl-3.0 | 31,017 |
#ifndef __TRACYCALLSTACK_H__
#define __TRACYCALLSTACK_H__
#ifndef TRACY_NO_CALLSTACK
# if !defined _WIN32
# include <sys/param.h>
# endif
# if defined _WIN32
# include "../common/TracyUwp.hpp"
# ifndef TRACY_UWP
# define TRACY_HAS_CALLSTACK 1
# endif
# elif defined __ANDROID__
# if !defined _... | whupdup/frame | real/third_party/tracy/client/TracyCallstack.h | C++ | gpl-3.0 | 750 |
#ifndef __TRACYCALLSTACK_HPP__
#define __TRACYCALLSTACK_HPP__
#include "../common/TracyApi.h"
#include "TracyCallstack.h"
#if TRACY_HAS_CALLSTACK == 2 || TRACY_HAS_CALLSTACK == 5
# include <unwind.h>
#elif TRACY_HAS_CALLSTACK >= 3
# include <execinfo.h>
#endif
#ifdef TRACY_HAS_CALLSTACK
#ifdef TRACY_DEBUGINFOD
#... | whupdup/frame | real/third_party/tracy/client/TracyCallstack.hpp | C++ | gpl-3.0 | 3,093 |
#ifndef __TRACYPRINT_HPP__
#define __TRACYPRINT_HPP__
#ifdef TRACY_VERBOSE
# include <stdio.h>
# define TracyDebug(...) fprintf( stderr, __VA_ARGS__ );
#else
# define TracyDebug(...)
#endif
#endif
| whupdup/frame | real/third_party/tracy/client/TracyDebug.hpp | C++ | gpl-3.0 | 202 |