Location: PHPKode > projects > Lithron > lithron-1.0.2/examples/200-fonts.xml.php
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
<lithron>
	<font font-family="bitstream-sans"
		file-normal="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/Vera" ?>"
        embedding-normal="true"
        file-bold="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraBd" ?>"
		embedding-bold="true"
		file-italic="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraIt" ?>"
		embedding-italic="true"
		file-oblique="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraIt" ?>"
		embedding-oblique="true"
		file-bolditalic="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraBI" ?>"
		embedding-bolditalic="true"
		file-boldoblique="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraBI" ?>"
		embedding-boldoblique="true"
	/>
	<font font-family="bitstream-mono"
		file-normal="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraMono" ?>"
        embedding-normal="true"
        file-bold="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraMoBd" ?>"
		embedding-bold="true"
		file-italic="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraMoIt" ?>"
		embedding-italic="true"
		file-oblique="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraMoIt" ?>"
		embedding-oblique="true"
		file-bolditalic="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraMoBI" ?>"
		embedding-bolditalic="true"
		file-boldoblique="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraMoBI" ?>"
		embedding-boldoblique="true"
	/>
	<font font-family="bitstream-serif"
		file-normal="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraSe" ?>"
        embedding-normal="true"
        file-bold="<?php echo dirname(__FILE__)."/media/ttf-bitstream-vera-1.10/VeraSeBd" ?>"
		embedding-bold="true"
	/>

	<style>
		page.A4 {
            height: 297mm;
            width: 210mm
        }

        wrapper {
            display: block;
            margin-top: 2cm;
            margin-right: 3cm;
            margin-bottom: 2cm;
            margin-left: 2cm;
        }
        
        sans
        {
            font-family: bitstream-sans;
            margin-top: 1cm;
            margin-bottom: 0.5cm;
            display: block;
        }
        serif
        {
            font-family: bitstream-serif;
            margin-top: 1cm;
            margin-bottom: 0.5cm;
            display: block;
        }
        mono
        {
            font-family: bitstream-mono;
            margin-top: 1cm;
            margin-bottom: 0.5cm;
            display: block;
        }

	</style>

    <file name="<?php echo "lithron-".basename(__FILE__,"xml.php")."pdf" ?>">
		<page class="A4">
            <wrapper>
            <h1>Fonts</h1>
            <h1>sans</h1>
            <div><sans font-size="24pt">24pt Bitstream Sans Serif Normal</sans></div>
            <div><sans font-size="18pt"><b>18pt Bitstream Sans Serif Bold</b></sans></div>
            <div><sans font-size="14pt"><i>14pt Bitstream Sans Serif Italic</i></sans></div>
            <div><sans font-size="10pt"><strong><em>10pt Bitstream Sans Serif Bolditalic</em></strong></sans></div>

            <h1>serif</h1>
            <div><serif font-size="30pt">30pt Serif Bitstream Normal</serif></div>
            <div><serif font-size="15pt"><b>15pt Serif Bitstream Bold</b></serif></div>

            <h1>mono</h1>
            <div><mono font-size="16pt">16pt Bitstream Monospaced Normal</mono></div>
            <div><mono font-size="10pt"><b>10pt Bitstream Monospaced Bold</b></mono></div>
            <div><mono font-size="8pt"><i>8pt Bitstream Monospaced Italic</i></mono></div>
            <div><mono font-size="6pt"><strong><em>6pt Bitstream Monospaced Bolditalic</em></strong></mono></div>
            </wrapper>
        </page>
	</file>


	
</lithron>
Return current item: Lithron