<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.cloudmodding.com/oot/3D:QBF_format/history?feed=atom</id>
		<title>3D:QBF format - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.cloudmodding.com/oot/3D:QBF_format/history?feed=atom"/>
		<link rel="alternate" type="text/html" href="https://wiki.cloudmodding.com/oot/3D:QBF_format/history"/>
		<updated>2026-05-07T12:03:55Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.cloudmodding.com/woot/index.php?title=3D:QBF_format&amp;diff=4007&amp;oldid=prev</id>
		<title>FireFly: Document the QBF format</title>
		<link rel="alternate" type="text/html" href="https://wiki.cloudmodding.com/woot/index.php?title=3D:QBF_format&amp;diff=4007&amp;oldid=prev"/>
				<updated>2015-10-04T03:46:53Z</updated>
		
		<summary type="html">&lt;p&gt;Document the QBF format&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The '''QBF format''' ('''Queen Bitmap Font?''') is an image resource format containing information about how to render different characters.  This is the format used for fonts in OoT 3D.&lt;br /&gt;
&lt;br /&gt;
== Structure ==&lt;br /&gt;
This section documents the structure of the file format.&lt;br /&gt;
&lt;br /&gt;
=== Header ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0000 || char[4] || Magic (&amp;quot;QBF1&amp;quot;)&lt;br /&gt;
|-&lt;br /&gt;
| 0004 || u16 || #characters&lt;br /&gt;
|-&lt;br /&gt;
| 0006 || u16 || Unknown (~#characters)&lt;br /&gt;
|-&lt;br /&gt;
| 0008 || u32 || Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 000C || u8  || Bits per pixel (4 or 8)&lt;br /&gt;
|-&lt;br /&gt;
| 000D || u8  || Glyph width&lt;br /&gt;
|-&lt;br /&gt;
| 000E || u8  || Glyph height&lt;br /&gt;
|-&lt;br /&gt;
| 000F || u8  || Unknown (always 4?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Character metadata ===&lt;br /&gt;
Contains [#characters] rows (see header).&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
! Offset !! Type !! Description&lt;br /&gt;
|-&lt;br /&gt;
| 0000 || u16 || Character&lt;br /&gt;
|-&lt;br /&gt;
| 0002 || u16 || Glyph ID&lt;br /&gt;
|-&lt;br /&gt;
| 0004 || u8  || Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0005 || u8  || Unknown&lt;br /&gt;
|-&lt;br /&gt;
| 0006 || u16 || Unknown (always 0?)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Each entry describes one character (specified by the [Character] field) associated with the corresponding bitmap (specified by the [Glyph ID] field).  Glyph IDs are indices into the bitmap section.&lt;br /&gt;
&lt;br /&gt;
=== Bitmap section ===&lt;br /&gt;
Contains one bitmap for each glyph.  Each bitmap is ''[Glyph width]*[Glyph height]*[Bits per pixel]/8'' bytes, regardless of the dimensions of the actual character.  4 bpp pixels are stored one nibble at a time, i.e. the higher nibble is leftmost.  All pixel data is single-channel (greyscale or perhaps alpha).&lt;br /&gt;
&lt;br /&gt;
[[Category:File Formats]]&lt;/div&gt;</summary>
		<author><name>FireFly</name></author>	</entry>

	</feed>