---
title: Text sample description
framework: quicktime-file-format
role: symbol
role_heading: Atom
path: quicktime-file-format/text_sample_description
---

# Text sample description

An atom that defines how to interpret text media data.

## Overview

Overview The text sample description contains information that defines how to interpret text media data. This sample description is based on the standard sample description header, as described in Sample description atom ('stsd'). The data format field in the sample description is always set to 'text'. The text media handler also adds some of its own fields to the sample description.

## Topics

### Data fields

- [Display flags](quicktime-file-format/text_sample_description/display_flags.md)
- [Text justification](quicktime-file-format/text_sample_description/text_justification.md)
- [Background color](quicktime-file-format/text_sample_description/background_color.md)
- [Default text box](quicktime-file-format/text_sample_description/default_text_box.md)
- [Reserved](quicktime-file-format/text_sample_description/reserved.md)
- [Font number](quicktime-file-format/text_sample_description/font_number.md)
- [Font face](quicktime-file-format/text_sample_description/font_face.md)
- [Reserved](quicktime-file-format/text_sample_description/reserved2.md)
- [Reserved](quicktime-file-format/text_sample_description/reserved3.md)
- [Foreground color](quicktime-file-format/text_sample_description/foreground_color.md)
- [Text name](quicktime-file-format/text_sample_description/text_name.md)

## See Also

### Storing text data

- [Text media information atom ('text')](quicktime-file-format/text_media_information_atom.md)
- [Text sample data](quicktime-file-format/text_sample_data.md)
- [Hypertext and wired text](quicktime-file-format/hypertext_and_wired_text.md)
