KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ORCAD_FONT Struct Reference

One text font from the Library stream (a Win32 LOGFONTA record, 60 bytes: lfHeight i32 at +0, lfWeight i32 at +16, lfItalic u8 at +20, lfFaceName char[32] at +28). More...

#include <orcad_records.h>

Public Attributes

int height = 0
 raw lfHeight (typically negative)
 
std::string face
 
bool italic = false
 
bool bold = false
 lfWeight >= 600
 

Detailed Description

One text font from the Library stream (a Win32 LOGFONTA record, 60 bytes: lfHeight i32 at +0, lfWeight i32 at +16, lfItalic u8 at +20, lfFaceName char[32] at +28).

Height is in negative device units; the point size is approximately -lfHeight * 72 / 96. Font indexes elsewhere are 1-based with 0 meaning default.

Definition at line 530 of file orcad_records.h.

Member Data Documentation

◆ bold

bool ORCAD_FONT::bold = false

lfWeight >= 600

Definition at line 535 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::applyFont(), and OrcadParseLibrary().

◆ face

std::string ORCAD_FONT::face

Definition at line 533 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::applyFont(), and OrcadParseLibrary().

◆ height

int ORCAD_FONT::height = 0

raw lfHeight (typically negative)

Definition at line 532 of file orcad_records.h.

Referenced by OrcadParseLibrary().

◆ italic

bool ORCAD_FONT::italic = false

Definition at line 534 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::applyFont(), and OrcadParseLibrary().


The documentation for this struct was generated from the following file: