Fixes by clang-format

This commit is contained in:
magnesj 2020-11-09 12:44:29 +00:00 committed by Magne Sjaastad
parent 6efad29aa6
commit 0258874e17
204 changed files with 67512 additions and 67423 deletions

View File

@ -620,7 +620,8 @@ std::map<RiaDefines::PhaseType, caf::ColorTable> RiaColorTables::phaseColors()
{
static std::vector<cvf::Color3ub> waterColors{ cvf::Color3ub( cvf::Color3::DARK_BLUE ),
cvf::Color3ub( cvf::Color3::SKY_BLUE ) };
static std::vector<cvf::Color3ub> gasColors{cvf::Color3ub( cvf::Color3::DARK_RED ), cvf::Color3ub( cvf::Color3::PINK )};
static std::vector<cvf::Color3ub> gasColors{ cvf::Color3ub( cvf::Color3::DARK_RED ),
cvf::Color3ub( cvf::Color3::PINK ) };
static std::vector<cvf::Color3ub> oilColors{ cvf::Color3ub( cvf::Color3::DARK_GREEN ),
cvf::Color3ub( cvf::Color3::YELLOW_GREEN ) };

View File

@ -118,7 +118,9 @@ caf::PdmScriptResponse RicfCreateLgrForCompletions::execute()
m_timeStep,
lgrCellCounts,
m_splitType(),
{RigCompletionData::PERFORATION, RigCompletionData::FRACTURE, RigCompletionData::FISHBONES},
{ RigCompletionData::PERFORATION,
RigCompletionData::FRACTURE,
RigCompletionData::FISHBONES },
&wellsIntersectingOtherLgrs );
feature->updateViews( eclipseCase );

View File

@ -111,7 +111,9 @@ caf::PdmScriptResponse RicfExportLgrForCompletions::execute()
m_timeStep,
lgrCellCounts,
m_splitType(),
{RigCompletionData::PERFORATION, RigCompletionData::FRACTURE, RigCompletionData::FISHBONES},
{ RigCompletionData::PERFORATION,
RigCompletionData::FRACTURE,
RigCompletionData::FISHBONES },
&wellsIntersectingOtherLgrs );
caf::PdmScriptResponse response;

View File

@ -960,7 +960,8 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompdatTableUsingFormatte
if ( gridName.isEmpty() )
{
header = {RifTextDataTableColumn( "Well" ),
header =
{ RifTextDataTableColumn( "Well" ),
RifTextDataTableColumn( "I" ),
RifTextDataTableColumn( "J" ),
RifTextDataTableColumn( "K1" ),
@ -981,7 +982,8 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompdatTableUsingFormatte
}
else
{
header = {RifTextDataTableColumn( "Well" ),
header =
{ RifTextDataTableColumn( "Well" ),
RifTextDataTableColumn( "LgrName" ),
RifTextDataTableColumn( "I" ),
RifTextDataTableColumn( "J" ),

View File

@ -293,16 +293,15 @@ void RicWellPathExportMswCompletionsImpl::generateWelsegsTable( RifTextDataTable
}
{
std::vector<RifTextDataTableColumn> header = {RifTextDataTableColumn( "First Seg" ),
std::vector<RifTextDataTableColumn> header =
{ RifTextDataTableColumn( "First Seg" ),
RifTextDataTableColumn( "Last Seg" ),
RifTextDataTableColumn( "Branch Num" ),
RifTextDataTableColumn( "Outlet Seg" ),
RifTextDataTableColumn( "Length" ),
RifTextDataTableColumn( "Depth Change" ),
RifTextDataTableColumn( "Diam" ),
RifTextDataTableColumn( "Rough",
RifTextDataTableDoubleFormatting( RIF_FLOAT,
7 ) )};
RifTextDataTableColumn( "Rough", RifTextDataTableDoubleFormatting( RIF_FLOAT, 7 ) ) };
formatter.header( header );
}

View File

@ -58,7 +58,8 @@ int RigFemTypes::elementFaceCount( RigElementType elmType )
const int* RigFemTypes::localElmNodeIndicesForFace( RigElementType elmType, int faceIdx, int* faceNodeCount )
{
static const int HEX8_Faces[6][4] = {{1, 2, 6, 5}, {0, 4, 7, 3}, {3, 7, 6, 2}, {0, 1, 5, 4}, {4, 5, 6, 7}, {0, 3, 2, 1}};
static const int HEX8_Faces[6][4] =
{ { 1, 2, 6, 5 }, { 0, 4, 7, 3 }, { 3, 7, 6, 2 }, { 0, 1, 5, 4 }, { 4, 5, 6, 7 }, { 0, 3, 2, 1 } };
static const int CAX4_Faces[4] = { 0, 1, 2, 3 };
switch ( elmType )

View File

@ -520,7 +520,8 @@ std::vector<RiaGrpcCallbackInterface*> RiaGrpcNNCPropertiesService::createCallba
RiaNNCInputValuesStateHandler>( this,
&Self::SetNNCValues,
&Self::RequestSetNNCValues,
new RiaNNCInputValuesStateHandler( true ) )};
new RiaNNCInputValuesStateHandler(
true ) ) };
return callbacks;
}

View File

@ -205,7 +205,9 @@ std::vector<RiaGrpcCallbackInterface*> RiaGrpcProjectService::createCallbacks()
typedef RiaGrpcProjectService Self;
return { new RiaGrpcUnaryCallback<Self, Empty, CaseRequest>( this, &Self::GetCurrentCase, &Self::RequestGetCurrentCase ),
new RiaGrpcUnaryCallback<Self, Empty, CaseInfoArray>( this, &Self::GetSelectedCases, &Self::RequestGetSelectedCases ),
new RiaGrpcUnaryCallback<Self, Empty, CaseInfoArray>( this,
&Self::GetSelectedCases,
&Self::RequestGetSelectedCases ),
new RiaGrpcUnaryCallback<Self, Empty, CaseGroups>( this, &Self::GetAllCaseGroups, &Self::RequestGetAllCaseGroups ),
new RiaGrpcUnaryCallback<Self, Empty, CaseInfoArray>( this, &Self::GetAllCases, &Self::RequestGetAllCases ),
new RiaGrpcUnaryCallback<Self, CaseGroup, CaseInfoArray>( this,

View File

@ -508,7 +508,8 @@ cvf::ref<cvf::DrawableGeo> RivExtrudedCurveIntersectionGeometryGenerator::create
displayCoords.push_back( transform->translateToDisplayCoord( pt ) );
}
return RivPolylineGenerator::createLineAlongPolylineDrawable( std::vector<std::vector<cvf::Vec3d>>( {displayCoords} ) );
return RivPolylineGenerator::createLineAlongPolylineDrawable(
std::vector<std::vector<cvf::Vec3d>>( { displayCoords } ) );
}
//--------------------------------------------------------------------------------------------------
@ -533,7 +534,8 @@ cvf::ref<cvf::DrawableGeo> RivExtrudedCurveIntersectionGeometryGenerator::create
displayCoords.push_back( transform->translateToDisplayCoord( pt ) );
}
return RivPolylineGenerator::createPointsFromPolylineDrawable( std::vector<std::vector<cvf::Vec3d>>( {displayCoords} ) );
return RivPolylineGenerator::createPointsFromPolylineDrawable(
std::vector<std::vector<cvf::Vec3d>>( { displayCoords } ) );
}
//--------------------------------------------------------------------------------------------------

View File

@ -955,7 +955,10 @@ QList<caf::PdmOptionItemInfo>
}
else if ( fieldNeedingOptions == &m_grouping )
{
std::set<RigGridCrossPlotCurveGrouping> validOptions = {NO_GROUPING, GROUP_BY_TIME, GROUP_BY_FORMATION, GROUP_BY_RESULT};
std::set<RigGridCrossPlotCurveGrouping> validOptions = { NO_GROUPING,
GROUP_BY_TIME,
GROUP_BY_FORMATION,
GROUP_BY_RESULT };
if ( !hasMultipleTimeSteps() )
{
validOptions.erase( GROUP_BY_TIME );

View File

@ -111,13 +111,17 @@ void RigEclipseToStimPlanCalculator::appendDataToTransmissibilityCondenser( bool
{
if ( useFiniteConductivityInFracture )
{
condenser->addNeighborTransmissibility( {true, CellIdxSpace::ECLIPSE, fractureCellContributingEclipseCells[i]},
condenser->addNeighborTransmissibility( { true,
CellIdxSpace::ECLIPSE,
fractureCellContributingEclipseCells[i] },
{ false, CellIdxSpace::STIMPLAN, stimPlanCellIndex },
fractureCellContributingEclipseCellTransmissibilities[i] );
}
else
{
condenser->addNeighborTransmissibility( {true, CellIdxSpace::ECLIPSE, fractureCellContributingEclipseCells[i]},
condenser->addNeighborTransmissibility( { true,
CellIdxSpace::ECLIPSE,
fractureCellContributingEclipseCells[i] },
{ true, CellIdxSpace::WELL, 1 },
fractureCellContributingEclipseCellTransmissibilities[i] );
}

View File

@ -304,7 +304,8 @@ void RigTransmissibilityCondenser::calculateCondensedTransmissibilities()
// Find all equations, and their total ordering
union {
union
{
int idxToFirstExternalEquation;
int internalEquationCount;
};

View File

@ -881,9 +881,10 @@ private:
}
else // if ( endToGrow > 1 )
{
m_branchLines.push_back(
std::make_pair( false,
std::deque<size_t>{branchList.front(), cellWithNeighborsPair.first, neighbour} ) );
m_branchLines.push_back( std::make_pair( false,
std::deque<size_t>{ branchList.front(),
cellWithNeighborsPair.first,
neighbour } ) );
auto newBranchLineIt = std::prev( m_branchLines.end() );
growBranchListEnd( newBranchLineIt );
if ( newBranchLineIt->second.size() == 3 )

View File

@ -379,7 +379,8 @@ RigWbsParameter RigWbsParameter::waterDensity()
RigWbsParameter param( "WaterDensity",
false,
{ { USER_DEFINED, SourceAddress() },
{LAS_FILE, SourceAddress( "RHO_INP", "", RiaWellLogUnitTools<double>::gPerCm3UnitString() )}} );
{ LAS_FILE,
SourceAddress( "RHO_INP", "", RiaWellLogUnitTools<double>::gPerCm3UnitString() ) } } );
return param;
}
//--------------------------------------------------------------------------------------------------

View File

@ -52,7 +52,8 @@ QMap<RiaDefines::ThemeEnum, QMap<QString, QString>> RiuGuiTheme:
QMap<RiaDefines::ThemeEnum, QMap<QString, QString>> RiuGuiTheme::s_variableGuiTextMap = {};
QMap<QString, QMap<QString, QMap<QString, QMap<QString, QString>>>> RiuGuiTheme::s_qwtPlotItemPropertiesMap = {};
QMap<QString, CustomStyleSheetApplicator> RiuGuiTheme::s_customStyleSheetApplicators =
{{QString( "QwtPlot\\[\"(?<plotName>[a-zA-Z0-9-_\\*]+)\"\\]::curve\\[\"(?<itemName>[a-zA-Z0-9-_\\*]+)\"\\]\\s*\\{("
{ { QString(
"QwtPlot\\[\"(?<plotName>[a-zA-Z0-9-_\\*]+)\"\\]::curve\\[\"(?<itemName>[a-zA-Z0-9-_\\*]+)\"\\]\\s*\\{("
"?<properties>([\\n\\r]*\\s*((line-color|symbol-color):"
"\\s*([a-zA-Z0-9#]+)\\s*;))*)[\\n\\r]*\\s*\\}" ),
[]( QRegularExpressionMatch& match ) {
@ -93,7 +94,8 @@ QMap<QString, CustomStyleSheetApplicator> RiuGuiTheme:
{
if ( QwtPlotCurve* curve = dynamic_cast<QwtPlotCurve*>( item ) )
{
if ( itemNameRegExp.exactMatch( item->title().text() ) || match.captured( "itemName" ) == "*" )
if ( itemNameRegExp.exactMatch( item->title().text() ) ||
match.captured( "itemName" ) == "*" )
{
QPen pen = curve->pen();
pen.setColor( QColor( lineColor ) );
@ -144,7 +146,8 @@ QMap<QString, CustomStyleSheetApplicator> RiuGuiTheme:
{
if ( QwtPlotGrid* grid = dynamic_cast<QwtPlotGrid*>( item ) )
{
if ( itemNameRegExp.exactMatch( item->title().text() ) || match.captured( "itemName" ) == "*" )
if ( itemNameRegExp.exactMatch( item->title().text() ) ||
match.captured( "itemName" ) == "*" )
{
QPen pen = grid->majorPen();
pen.setColor( QColor( color ) );

View File

@ -328,8 +328,8 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "FCOMT", { A::SUMMARY_FIELD, "Hydrocarbon component" } } );
info.insert( { "FCNMR", { A::SUMMARY_FIELD, "Hydrocarbon component molar rates in the NGL phase" } } );
info.insert( { "FCNWR", { A::SUMMARY_FIELD, "Hydrocarbon component mass rates in the NGL phase" } } );
info.insert(
{"FCGMRn", {A::SUMMARY_FIELD, "Hydrocarbon component molar rates in the gas phase for nth separator stage"}} );
info.insert( { "FCGMRn",
{ A::SUMMARY_FIELD, "Hydrocarbon component molar rates in the gas phase for nth separator stage" } } );
info.insert(
{ "FCGRn", { A::SUMMARY_FIELD, "Hydrocarbon component molar rates in the gas phase for nth separator stage" } } );
info.insert( { "FCOMRn", { A::SUMMARY_FIELD, "Hydrocarbon component" } } );
@ -808,10 +808,12 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "GCOMT", { A::SUMMARY_WELL_GROUP, "Hydrocarbon component" } } );
info.insert( { "GCNMR", { A::SUMMARY_WELL_GROUP, "Hydrocarbon component molar rates in the NGL phase" } } );
info.insert( { "GCNWR", { A::SUMMARY_WELL_GROUP, "Hydrocarbon component mass rates in the NGL phase" } } );
info.insert( {"GCGMRn",
info.insert(
{ "GCGMRn",
{ A::SUMMARY_WELL_GROUP, "Hydrocarbon component molar rates in the gas phase for nth separator stage" } } );
info.insert(
{"GCGRn", {A::SUMMARY_WELL_GROUP, "Hydrocarbon component molar rates in the gas phase for nth separator stage"}} );
{ "GCGRn",
{ A::SUMMARY_WELL_GROUP, "Hydrocarbon component molar rates in the gas phase for nth separator stage" } } );
info.insert( { "GCOMRn", { A::SUMMARY_WELL_GROUP, "Hydrocarbon component" } } );
info.insert( { "GCORn", { A::SUMMARY_WELL_GROUP, "Hydrocarbon component" } } );
info.insert( { "GMUF", { A::SUMMARY_WELL_GROUP, "Make-up fraction" } } );
@ -833,7 +835,8 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
"Period for which target sustainable rate could be maintained for the most recent "
"sustainable capacity test "
"for gas" } } );
info.insert( {"GGSTP", {A::SUMMARY_WELL_GROUP, "Test period for the most recent sustainable capacity test for gas"}} );
info.insert(
{ "GGSTP", { A::SUMMARY_WELL_GROUP, "Test period for the most recent sustainable capacity test for gas" } } );
info.insert(
{ "GOSPR", { A::SUMMARY_WELL_GROUP, "Target sustainable rate for most recent sustainable capacity test for oil" } } );
info.insert( { "GOSRL",
@ -850,9 +853,11 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
"Period for which target sustainable rate could be maintained for the most recent "
"sustainable capacity test "
"for oil" } } );
info.insert( {"GOSTP", {A::SUMMARY_WELL_GROUP, "Test period for the most recent sustainable capacity test for oil"}} );
info.insert(
{"GWSPR", {A::SUMMARY_WELL_GROUP, "Target sustainable rate for most recent sustainable capacity test for water"}} );
{ "GOSTP", { A::SUMMARY_WELL_GROUP, "Test period for the most recent sustainable capacity test for oil" } } );
info.insert(
{ "GWSPR",
{ A::SUMMARY_WELL_GROUP, "Target sustainable rate for most recent sustainable capacity test for water" } } );
info.insert( { "GWSRL",
{ A::SUMMARY_WELL_GROUP,
"Maximum tested rate sustained for the test period during the most recent sustainable "
@ -867,7 +872,8 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
"Period for which target sustainable rate could be maintained for the most recent "
"sustainable capacity test "
"for water" } } );
info.insert( {"GWSTP", {A::SUMMARY_WELL_GROUP, "Test period for the most recent sustainable capacity test for water"}} );
info.insert(
{ "GWSTP", { A::SUMMARY_WELL_GROUP, "Test period for the most recent sustainable capacity test for water" } } );
info.insert( { "GGPRG", { A::SUMMARY_WELL_GROUP, "Gas production rate" } } );
info.insert( { "GOPRG", { A::SUMMARY_WELL_GROUP, "Oil production rate" } } );
info.insert( { "GNLPRG", { A::SUMMARY_WELL_GROUP, "NGL production rate" } } );
@ -973,25 +979,26 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "GPR", { A::SUMMARY_WELL_GROUP, "Group or node Pressure in the production network" } } );
info.insert( { "GPRG", { A::SUMMARY_WELL_GROUP, "Group or node Pressure in the gas injection network" } } );
info.insert( { "GPRW", { A::SUMMARY_WELL_GROUP, "Group or node Pressure in the water injection network" } } );
info.insert(
{"GPRB",
{A::SUMMARY_WELL_GROUP, "Pressure drop along the group's or node's outlet branch in the production network"}} );
info.insert( { "GPRB",
{ A::SUMMARY_WELL_GROUP,
"Pressure drop along the group's or node's outlet branch in the production network" } } );
info.insert( { "GPRBG",
{ A::SUMMARY_WELL_GROUP,
"Pressure drop along the group's or node's inlet branch in the gas injection network" } } );
info.insert( { "GPRBW",
{ A::SUMMARY_WELL_GROUP,
"Pressure drop along the group's or node's inlet branch in the water injection network" } } );
info.insert( {"GALQ", {A::SUMMARY_WELL_GROUP, "ALQ in the group's or node's outlet branch in the production network"}} );
info.insert(
{"GOPRNB",
{A::SUMMARY_WELL_GROUP, "Oil flow rate along the group's or node's outlet branch in the production network"}} );
{ "GALQ", { A::SUMMARY_WELL_GROUP, "ALQ in the group's or node's outlet branch in the production network" } } );
info.insert( { "GOPRNB",
{ A::SUMMARY_WELL_GROUP,
"Oil flow rate along the group's or node's outlet branch in the production network" } } );
info.insert( { "GWPRNB",
{ A::SUMMARY_WELL_GROUP,
"Water flow rate along the group's or node's outlet branch in the production network" } } );
info.insert(
{"GGPRNB",
{A::SUMMARY_WELL_GROUP, "Gas flow rate along the group's or node's outlet branch in the production network"}} );
info.insert( { "GGPRNB",
{ A::SUMMARY_WELL_GROUP,
"Gas flow rate along the group's or node's outlet branch in the production network" } } );
info.insert( { "GLPRNB",
{ A::SUMMARY_WELL_GROUP,
"Liquid flow rate along the group's or node's outlet branch in the production network" } } );
@ -1001,36 +1008,36 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "GGIRNB",
{ A::SUMMARY_WELL_GROUP,
"Gas flow rate along the group's or node's inlet branch in the gas injection network" } } );
info.insert(
{"GOMNR",
{A::SUMMARY_WELL_GROUP, "Group or node minimum oil rate as specified with GNETDP in the production network"}} );
info.insert(
{"GGMNR",
{A::SUMMARY_WELL_GROUP, "Group or node minimum gas rate as specified with GNETDP in the production network"}} );
info.insert( { "GOMNR",
{ A::SUMMARY_WELL_GROUP,
"Group or node minimum oil rate as specified with GNETDP in the production network" } } );
info.insert( { "GGMNR",
{ A::SUMMARY_WELL_GROUP,
"Group or node minimum gas rate as specified with GNETDP in the production network" } } );
info.insert( { "GWMNR",
{ A::SUMMARY_WELL_GROUP,
"Group or node minimum water rate as specified with GNETDP in the production network" } } );
info.insert( { "GLMNR",
{ A::SUMMARY_WELL_GROUP,
"Group or node minimum liquid rate as specified with GNETDP in the production network" } } );
info.insert(
{"GOMXR",
{A::SUMMARY_WELL_GROUP, "Group or node maximum oil rate as specified with GNETDP in the production network"}} );
info.insert(
{"GGMXR",
{A::SUMMARY_WELL_GROUP, "Group or node maximum gas rate as specified with GNETDP in the production network"}} );
info.insert( { "GOMXR",
{ A::SUMMARY_WELL_GROUP,
"Group or node maximum oil rate as specified with GNETDP in the production network" } } );
info.insert( { "GGMXR",
{ A::SUMMARY_WELL_GROUP,
"Group or node maximum gas rate as specified with GNETDP in the production network" } } );
info.insert( { "GWMXR",
{ A::SUMMARY_WELL_GROUP,
"Group or node maximum water rate as specified with GNETDP in the production network" } } );
info.insert( { "GLMXR",
{ A::SUMMARY_WELL_GROUP,
"Group or node maximum liquid rate as specified with GNETDP in the production network" } } );
info.insert(
{"GMNP",
{A::SUMMARY_WELL_GROUP, "Group or node minimum pressure as specified with GNETDP in the production network"}} );
info.insert(
{"GMXP",
{A::SUMMARY_WELL_GROUP, "Group or node maximum pressure as specified with GNETDP in the production network"}} );
info.insert( { "GMNP",
{ A::SUMMARY_WELL_GROUP,
"Group or node minimum pressure as specified with GNETDP in the production network" } } );
info.insert( { "GMXP",
{ A::SUMMARY_WELL_GROUP,
"Group or node maximum pressure as specified with GNETDP in the production network" } } );
info.insert( { "GPRINC",
{ A::SUMMARY_WELL_GROUP,
"Group or node pressure increment as specified with GNETDP in the production network" } } );
@ -1227,10 +1234,10 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "WPI4", { A::SUMMARY_WELL, "Productivity Index based on the value of WBP4" } } );
info.insert( { "WPI5", { A::SUMMARY_WELL, "Productivity Index based on the value of WBP5" } } );
info.insert( { "WPI9", { A::SUMMARY_WELL, "Productivity Index based on the value of WBP9" } } );
info.insert(
{"WHD",
info.insert( { "WHD",
{ A::SUMMARY_WELL,
"Hydraulic head in well based on the reference depth given in HYDRHEAD and the well's reference depth"}} );
"Hydraulic head in well based on the reference depth given in HYDRHEAD and the well's reference "
"depth" } } );
info.insert(
{ "WHDF",
{ A::SUMMARY_WELL,
@ -1279,8 +1286,8 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "WCOMT", { A::SUMMARY_WELL, "Hydrocarbon component" } } );
info.insert( { "WCNMR", { A::SUMMARY_WELL, "Hydrocarbon component molar rates in the NGL phase" } } );
info.insert( { "WCNWR", { A::SUMMARY_WELL, "Hydrocarbon component mass rates in the NGL phase" } } );
info.insert(
{"WCGMRn", {A::SUMMARY_WELL, "Hydrocarbon component molar rates in the gas phase for nth separator stage"}} );
info.insert( { "WCGMRn",
{ A::SUMMARY_WELL, "Hydrocarbon component molar rates in the gas phase for nth separator stage" } } );
info.insert(
{ "WCGRn", { A::SUMMARY_WELL, "Hydrocarbon component molar rates in the gas phase for nth separator stage" } } );
info.insert( { "WCOMRn", { A::SUMMARY_WELL, "Hydrocarbon component" } } );
@ -1400,9 +1407,9 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "COFR", { A::SUMMARY_WELL_COMPLETION, "Oil Flow Rate" } } );
info.insert( { "COFRF", { A::SUMMARY_WELL_COMPLETION, "Free Oil Flow Rate" } } );
info.insert( { "COFRS", { A::SUMMARY_WELL_COMPLETION, "Solution oil flow rate" } } );
info.insert(
{"COFRU",
{A::SUMMARY_WELL_COMPLETION, "Sum of connection oil flow rates upstream of, and including, this connection"}} );
info.insert( { "COFRU",
{ A::SUMMARY_WELL_COMPLETION,
"Sum of connection oil flow rates upstream of, and including, this connection" } } );
info.insert( { "COPR", { A::SUMMARY_WELL_COMPLETION, "Oil Production Rate" } } );
info.insert( { "COPT", { A::SUMMARY_WELL_COMPLETION, "Oil Production Total" } } );
info.insert( { "COPTF", { A::SUMMARY_WELL_COMPLETION, "Free Oil Production Total" } } );
@ -1423,9 +1430,9 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "CGFR", { A::SUMMARY_WELL_COMPLETION, "Gas Flow Rate" } } );
info.insert( { "CGFRF", { A::SUMMARY_WELL_COMPLETION, "Free Gas Flow Rate" } } );
info.insert( { "CGFRS", { A::SUMMARY_WELL_COMPLETION, "Solution Gas Flow Rate" } } );
info.insert(
{"CGFRU",
{A::SUMMARY_WELL_COMPLETION, "Sum of connection gas flow rates upstream of, and including, this connection"}} );
info.insert( { "CGFRU",
{ A::SUMMARY_WELL_COMPLETION,
"Sum of connection gas flow rates upstream of, and including, this connection" } } );
info.insert( { "CGPR", { A::SUMMARY_WELL_COMPLETION, "Gas Production Rate " } } );
info.insert( { "CGPT", { A::SUMMARY_WELL_COMPLETION, "Gas Production Total" } } );
info.insert( { "CGPTF", { A::SUMMARY_WELL_COMPLETION, "Free Gas Production Total" } } );
@ -1454,7 +1461,8 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "CGPPTN", { A::SUMMARY_WELL_COMPLETION, "Generalized pseudo-pressure table update counter" } } );
info.insert( { "CGPPTS", { A::SUMMARY_WELL_COMPLETION, "Generalized pseudo-pressure table update status" } } );
info.insert( { "CDSM", { A::SUMMARY_WELL_COMPLETION, "Current mass of scale deposited" } } );
info.insert( {"CDSML", {A::SUMMARY_WELL_COMPLETION, "Current mass of scale deposited per unit perforation length"}} );
info.insert(
{ "CDSML", { A::SUMMARY_WELL_COMPLETION, "Current mass of scale deposited per unit perforation length" } } );
info.insert( { "CDSF", { A::SUMMARY_WELL_COMPLETION, "PI multiplicative factor due to scale damage" } } );
info.insert( { "CAMF", { A::SUMMARY_WELL_COMPLETION, "Component aqueous mole fraction, from producing completions" } } );
info.insert( { "CZMF", { A::SUMMARY_WELL_COMPLETION, "Total Mole Fraction" } } );
@ -1528,15 +1536,15 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "CTFRALK", { A::SUMMARY_WELL_COMPLETION, "Flow Rate" } } );
info.insert( { "CTPTALK", { A::SUMMARY_WELL_COMPLETION, "Production Total" } } );
info.insert( { "CTITALK", { A::SUMMARY_WELL_COMPLETION, "Injection Total" } } );
info.insert(
{"COFRU",
{A::SUMMARY_WELL_COMPLETION, "Sum of connection oil flow rates upstream of, and including, this connection"}} );
info.insert( { "COFRU",
{ A::SUMMARY_WELL_COMPLETION,
"Sum of connection oil flow rates upstream of, and including, this connection" } } );
info.insert( { "CWFRU",
{ A::SUMMARY_WELL_COMPLETION,
"Sum of connection water flow rates upstream of, and including, this connection" } } );
info.insert(
{"CGFRU",
{A::SUMMARY_WELL_COMPLETION, "Sum of connection gas flow rates upstream of, and including, this connection"}} );
info.insert( { "CGFRU",
{ A::SUMMARY_WELL_COMPLETION,
"Sum of connection gas flow rates upstream of, and including, this connection" } } );
info.insert( { "LCOFRU", { A::SUMMARY_WELL_COMPLETION, "As COFRU but for local grids" } } );
info.insert( { "LCWFRU", { A::SUMMARY_WELL_COMPLETION, "As CWFRU but for local grids" } } );
info.insert( { "LCGFRU", { A::SUMMARY_WELL_COMPLETION, "As CGFRU but for local grids" } } );
@ -1613,8 +1621,10 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "RRTM", { A::SUMMARY_REGION, "Transmissibility Multiplier associated with rock compaction" } } );
info.insert( { "ROE", { A::SUMMARY_REGION, "(OIP(initial) - OIP(now)) / OIP(initial)" } } );
info.insert( { "ROEW", { A::SUMMARY_REGION, "Oil Production from Wells / OIP(initial)" } } );
info.insert( {"ROEIW", {A::SUMMARY_REGION, "(OIP(initial) - OIP(now)) / Initial Mobile Oil with respect to Water"}} );
info.insert( {"ROEWW", {A::SUMMARY_REGION, "Oil Production from Wells / Initial Mobile Oil with respect to Water"}} );
info.insert(
{ "ROEIW", { A::SUMMARY_REGION, "(OIP(initial) - OIP(now)) / Initial Mobile Oil with respect to Water" } } );
info.insert(
{ "ROEWW", { A::SUMMARY_REGION, "Oil Production from Wells / Initial Mobile Oil with respect to Water" } } );
info.insert( { "ROEIG", { A::SUMMARY_REGION, "(OIP(initial) - OIP(now)) / Initial Mobile Oil with respect to Gas" } } );
info.insert( { "ROEWG", { A::SUMMARY_REGION, "Oil Production from Wells / Initial Mobile Oil with respect to Gas" } } );
info.insert( { "RORMR", { A::SUMMARY_REGION, "Total stock tank oil produced by rock compaction" } } );
@ -1726,10 +1736,11 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "BPCW", { A::SUMMARY_BLOCK, "Water Capillary Pressures" } } );
info.insert( { "BGTRP", { A::SUMMARY_BLOCK, "Trapped gas saturation" } } );
info.insert( { "BGTPD", { A::SUMMARY_BLOCK, "Dynamic trapped gas saturation" } } );
info.insert( { "BGSHY",
{ A::SUMMARY_BLOCK,
"Departure saturation from drainage to imbibition for gas capillary pressure hysteresis" } } );
info.insert(
{"BGSHY",
{A::SUMMARY_BLOCK, "Departure saturation from drainage to imbibition for gas capillary pressure hysteresis"}} );
info.insert( {"BGSTRP", {A::SUMMARY_BLOCK, "Trapped gas critical saturation for gas capillary pressure hysteresis"}} );
{ "BGSTRP", { A::SUMMARY_BLOCK, "Trapped gas critical saturation for gas capillary pressure hysteresis" } } );
info.insert( { "BWSHY",
{ A::SUMMARY_BLOCK,
"Departure saturation from drainage to imbibition for water capillary pressure hysteresis" } } );
@ -1744,7 +1755,8 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "BAMF", { A::SUMMARY_BLOCK, "Component aqueous mole fraction" } } );
info.insert( { "BXMF", { A::SUMMARY_BLOCK, "Liquid hydrocarbon component mole fraction" } } );
info.insert( { "BYMF", { A::SUMMARY_BLOCK, "Vapor hydrocarbon component mole fraction / vapor steam" } } );
info.insert( {"BSMF", {A::SUMMARY_BLOCK, "CO2STORE with SOLID option only Solid hydrocarbon component mole fraction"}} );
info.insert(
{ "BSMF", { A::SUMMARY_BLOCK, "CO2STORE with SOLID option only Solid hydrocarbon component mole fraction" } } );
info.insert( { "BSTEN", { A::SUMMARY_BLOCK, "Surface Tension" } } );
info.insert( { "BFMISC", { A::SUMMARY_BLOCK, "Miscibility Factor" } } );
info.insert( { "BREAC", { A::SUMMARY_BLOCK, "Reaction rate. The reaction number is given as a component index" } } );
@ -1757,7 +1769,8 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "BSCN_X", { A::SUMMARY_BLOCK, "Brine concentration interpolated at a defined coordinate" } } );
info.insert( { "BCTRA_X", { A::SUMMARY_BLOCK, "Tracer concentration interpolated at a defined coordinate" } } );
info.insert( { "LBPR_X", { A::SUMMARY_BLOCK, "Pressure interpolated at a defined coordinate within a local grid" } } );
info.insert( {"LBHD_X", {A::SUMMARY_BLOCK, "Hydraulic head interpolated at a defined coordinate within a local grid"}} );
info.insert(
{ "LBHD_X", { A::SUMMARY_BLOCK, "Hydraulic head interpolated at a defined coordinate within a local grid" } } );
info.insert(
{ "LBHDF_X",
{ A::SUMMARY_BLOCK,
@ -1822,13 +1835,16 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "BHPV", { A::SUMMARY_BLOCK, "Pore Volume containing Hydrocarbon" } } );
info.insert( { "BRTM", { A::SUMMARY_BLOCK, "Transmissibility Multiplier associated with rock compaction" } } );
info.insert( { "BPERMMOD", { A::SUMMARY_BLOCK, "Transmissibility Multiplier associated with rock compaction" } } );
info.insert( {"BPERMMDX",
info.insert(
{ "BPERMMDX",
{ A::SUMMARY_BLOCK,
"Directional Transmissibility Multipliers in the X direction, associated with rock compaction" } } );
info.insert( {"BPERMMDY",
info.insert(
{ "BPERMMDY",
{ A::SUMMARY_BLOCK,
"Directional Transmissibility Multipliers in the Y direction, associated with rock compaction" } } );
info.insert( {"BPERMMDZ",
info.insert(
{ "BPERMMDZ",
{ A::SUMMARY_BLOCK,
"Directional Transmissibility Multipliers in the Z direction, associated with rock compaction" } } );
info.insert( { "BPORVMOD", { A::SUMMARY_BLOCK, "Pore Volume Multiplier associated with rock compaction" } } );
@ -1880,12 +1896,13 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "BEMVIS", { A::SUMMARY_BLOCK, "Effective mixture" } } );
info.insert( { "BEWV_POL", { A::SUMMARY_BLOCK, "Effective water viscosity" } } );
info.insert( { "BCAD", { A::SUMMARY_BLOCK, "Polymer Adsorption concentration" } } );
info.insert( {"BCDCS", {A::SUMMARY_BLOCK, "Polymer thermal degradation - total mass degraded in previous timestep"}} );
info.insert(
{ "BCDCS", { A::SUMMARY_BLOCK, "Polymer thermal degradation - total mass degraded in previous timestep" } } );
info.insert( { "BCDCR", { A::SUMMARY_BLOCK, "Polymer thermal degradation - total degradation rate" } } );
info.insert( { "BCDCP", { A::SUMMARY_BLOCK, "Polymer thermal degradation solution degradation rate" } } );
info.insert( { "BCDCA", { A::SUMMARY_BLOCK, "Polymer thermal degradation adsorbed degradation rate" } } );
info.insert(
{"BCABnnn", {A::SUMMARY_BLOCK, "Adsorbed polymer by highest temperature band at which RRF was calculated"}} );
info.insert( { "BCABnnn",
{ A::SUMMARY_BLOCK, "Adsorbed polymer by highest temperature band at which RRF was calculated" } } );
info.insert( { "BSCN", { A::SUMMARY_BLOCK, "Salt Cell Concentration" } } );
info.insert( { "BSIP", { A::SUMMARY_BLOCK, "Salt In Place" } } );
info.insert( { "BFLOW0I",
@ -1900,27 +1917,36 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
{ A::SUMMARY_BLOCK,
"Inter-block water flow rate in the positive K direction multiplied by the "
"corresponding shear multiplier" } } );
info.insert( {"BVELW0I",
info.insert(
{ "BVELW0I",
{ A::SUMMARY_BLOCK,
"Water velocity in the positive I direction multiplied by the corresponding shear multiplier" } } );
info.insert( {"BVELW0J",
info.insert(
{ "BVELW0J",
{ A::SUMMARY_BLOCK,
"Water velocity in the positive J direction multiplied by the corresponding shear multiplier" } } );
info.insert( {"BVELW0K",
info.insert(
{ "BVELW0K",
{ A::SUMMARY_BLOCK,
"Water velocity in the positive K direction multiplied by the corresponding shear multiplier" } } );
info.insert( { "BPSHLZI",
{ A::SUMMARY_BLOCK, "Viscosity multiplier due to sheared water flow in the positive I direction" } } );
info.insert( { "BPSHLZJ",
{ A::SUMMARY_BLOCK, "Viscosity multiplier due to sheared water flow in the positive J direction" } } );
info.insert( { "BPSHLZK",
{ A::SUMMARY_BLOCK, "Viscosity multiplier due to sheared water flow in the positive K direction" } } );
info.insert(
{"BPSHLZI", {A::SUMMARY_BLOCK, "Viscosity multiplier due to sheared water flow in the positive I direction"}} );
{ "BSRTW0I", { A::SUMMARY_BLOCK, "Water shear rate in the positive I direction prior to shear effects" } } );
info.insert(
{"BPSHLZJ", {A::SUMMARY_BLOCK, "Viscosity multiplier due to sheared water flow in the positive J direction"}} );
{ "BSRTW0J", { A::SUMMARY_BLOCK, "Water shear rate in the positive J direction prior to shear effects" } } );
info.insert(
{"BPSHLZK", {A::SUMMARY_BLOCK, "Viscosity multiplier due to sheared water flow in the positive K direction"}} );
info.insert( {"BSRTW0I", {A::SUMMARY_BLOCK, "Water shear rate in the positive I direction prior to shear effects"}} );
info.insert( {"BSRTW0J", {A::SUMMARY_BLOCK, "Water shear rate in the positive J direction prior to shear effects"}} );
info.insert( {"BSRTW0K", {A::SUMMARY_BLOCK, "Water shear rate in the positive K direction prior to shear effects"}} );
info.insert( {"BSRTWI", {A::SUMMARY_BLOCK, "Water shear rate in the positive I direction following shear effects"}} );
info.insert( {"BSRTWJ", {A::SUMMARY_BLOCK, "Water shear rate in the positive J direction following shear effects"}} );
info.insert( {"BSRTWK", {A::SUMMARY_BLOCK, "Water shear rate in the positive K direction following shear effects"}} );
{ "BSRTW0K", { A::SUMMARY_BLOCK, "Water shear rate in the positive K direction prior to shear effects" } } );
info.insert(
{ "BSRTWI", { A::SUMMARY_BLOCK, "Water shear rate in the positive I direction following shear effects" } } );
info.insert(
{ "BSRTWJ", { A::SUMMARY_BLOCK, "Water shear rate in the positive J direction following shear effects" } } );
info.insert(
{ "BSRTWK", { A::SUMMARY_BLOCK, "Water shear rate in the positive K direction following shear effects" } } );
info.insert( { "BSHWVISI",
{ A::SUMMARY_BLOCK,
"Shear viscosity of the water/polymer solution due to shear thinning/thickening in "
@ -1954,20 +1980,24 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "BKRGOE", { A::SUMMARY_BLOCK, "Equivalent relative permeability to gas for gas-oil system" } } );
info.insert( { "BKRGWE", { A::SUMMARY_BLOCK, "Equivalent relative permeability to gas for gas-water system" } } );
info.insert( { "BKRWGE", { A::SUMMARY_BLOCK, "Equivalent relative permeability to water for water-gas system" } } );
info.insert( {"BKROWT",
info.insert(
{ "BKROWT",
{ A::SUMMARY_BLOCK,
"Opposite saturation direction turning point relative permeability to oil for oil-water system" } } );
info.insert(
{ "BKRWOT",
{ A::SUMMARY_BLOCK,
"Opposite saturation direction turning point relative permeability to water for water-oil system" } } );
info.insert( {"BKROGT",
info.insert(
{ "BKROGT",
{ A::SUMMARY_BLOCK,
"Opposite saturation direction turning point relative permeability to oil for oil-gas system" } } );
info.insert( {"BKRGOT",
info.insert(
{ "BKRGOT",
{ A::SUMMARY_BLOCK,
"Opposite saturation direction turning point relative permeability to gas for gas-oil system" } } );
info.insert( {"BKRGWT",
info.insert(
{ "BKRGWT",
{ A::SUMMARY_BLOCK,
"Opposite saturation direction turning point relative permeability to gas for gas-water system" } } );
info.insert(
@ -2171,8 +2201,8 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "BPCOIL" + suffix, { A::SUMMARY_BLOCK, "Oil Capillary Pressure" + descadd } } );
info.insert( { "BPCOW" + suffix, { A::SUMMARY_BLOCK, "Oil-Water Capillary Pressure" + descadd } } );
info.insert( { "BPCWAT" + suffix, { A::SUMMARY_BLOCK, "Water Capillary Pressure" + descadd } } );
info.insert(
{"BPMODHYS" + suffix, {A::SUMMARY_BLOCK, "Dynamic Pmod Hysteresis Curve Type (1/2/3=B/S/P)" + descadd}} );
info.insert( { "BPMODHYS" + suffix,
{ A::SUMMARY_BLOCK, "Dynamic Pmod Hysteresis Curve Type (1/2/3=B/S/P)" + descadd } } );
info.insert( { "BPR" + suffix, { A::SUMMARY_BLOCK, "Pressure" + descadd } } );
info.insert( { "BRS" + suffix, { A::SUMMARY_BLOCK, "Gas Rs" + descadd } } );
info.insert( { "BRV" + suffix, { A::SUMMARY_BLOCK, "Gas Rv" + descadd } } );
@ -2182,7 +2212,8 @@ std::map<std::string, RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo
info.insert( { "BSRVSTAT" + suffix, { A::SUMMARY_BLOCK, "Srv Status (1/2/3=Stim/Sigprop/Propprop)" + descadd } } );
info.insert( { "BSTRAIN" + suffix, { A::SUMMARY_BLOCK, "Volumetric Strain" + descadd } } );
info.insert( { "BSTRESS" + suffix, { A::SUMMARY_BLOCK, "Mean Normal Stress" + descadd } } );
info.insert( {"BSTRESSA" + suffix, {A::SUMMARY_BLOCK, "Mean Normal Stress Idealised Analytic Solution" + descadd}} );
info.insert(
{ "BSTRESSA" + suffix, { A::SUMMARY_BLOCK, "Mean Normal Stress Idealised Analytic Solution" + descadd } } );
info.insert( { "BSTRESSN" + suffix, { A::SUMMARY_BLOCK, "Net Stress" + descadd } } );
info.insert( { "BVISCGAS" + suffix, { A::SUMMARY_BLOCK, "Gas Viscosity" + descadd } } );
info.insert( { "BVISCOIL" + suffix, { A::SUMMARY_BLOCK, "Oil Viscosity" + descadd } } );

View File

@ -128,8 +128,8 @@ const size_t CAF_FIXED_ATLAS_FONT_6_PT_TEXTURE_IMAGE_WIDTH = 2304;
const size_t CAF_FIXED_ATLAS_FONT_6_PT_TEXTURE_IMAGE_HEIGHT = 10;
// Texture image data
const char* CAF_FIXED_ATLAS_FONT_6_PT_TEXTURE_IMAGE[] =
{"////pf///2j///9o////pf///wD///8A////AP///wD///8A////pf///2j///9o////pf///wD///8A////AP///wD///8A////pf///2j///9o/"
const char* CAF_FIXED_ATLAS_FONT_6_PT_TEXTURE_IMAGE[] = {
"////pf///2j///9o////pf///wD///8A////AP///wD///8A////pf///2j///9o////pf///wD///8A////AP///wD///8A////pf///2j///9o/"
"///pf///wD///8A////AP///wD///8A////pf///2j///9o////pf///wD///8A////AP///wD///8A////pf///2j///9o////pf///wD///8A//"
"//AP///wD///8A////pf///2j///9o",
"////pf///wD///8A////AP///wD///8A////pf///2j///9o////pf///wD///8A////AP///wD///8A////pf///2j///9o////pf///wD///8A/"
@ -1604,47 +1604,50 @@ const short CAF_FIXED_ATLAS_FONT_10_PT_HORIZONTAL_BEARINGS_Y[] =
// Horizontal advances
const cvf::uint CAF_FIXED_ATLAS_FONT_10_PT_HORIZONTAL_ADVANCES[] =
{13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 3, 4, 5, 8, 7, 11, 9, 3, 4, 4, 7, 7, 3, 4, 3, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
3, 3, 7, 7, 7, 6, 11, 8, 8, 8, 9, 7, 6, 9, 9, 5, 3, 8, 6, 11, 9, 10, 7, 10, 8, 7, 7, 9, 7,
11, 7, 7, 7, 4, 5, 4, 7, 5, 8, 7, 8, 6, 8, 7, 4, 7, 8, 3, 3, 6, 3, 11, 8, 8, 8, 8, 5, 6,
4, 8, 6, 10, 7, 6, 6, 5, 7, 5, 7, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 3, 4, 7, 7, 7, 7, 7, 6, 8, 11, 5, 6, 7, 4,
11, 7, 6, 7, 5, 5, 8, 8, 9, 3, 3, 5, 5, 6, 10, 10, 10, 6, 8, 8, 8, 8, 8, 8, 11, 8, 7, 7, 7,
7, 5, 5, 5, 5, 9, 9, 10, 10, 10, 10, 10, 7, 10, 9, 9, 9, 9, 7, 7, 8, 7, 7, 7, 7, 7, 7, 11, 6,
7, 7, 7, 7, 3, 3, 3, 3, 8, 8, 8, 8, 8, 8, 8, 7, 8, 8, 8, 8, 8, 6, 8, 6};
{ 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 3, 4, 5, 8, 7, 11, 9, 3, 4, 4, 7, 7, 3, 4, 3, 5, 7, 7, 7, 7,
7, 7, 7, 7, 7, 7, 3, 3, 7, 7, 7, 6, 11, 8, 8, 8, 9, 7, 6, 9, 9, 5, 3, 8, 6, 11,
9, 10, 7, 10, 8, 7, 7, 9, 7, 11, 7, 7, 7, 4, 5, 4, 7, 5, 8, 7, 8, 6, 8, 7, 4, 7,
8, 3, 3, 6, 3, 11, 8, 8, 8, 8, 5, 6, 4, 8, 6, 10, 7, 6, 6, 5, 7, 5, 7, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 3, 4, 7, 7, 7, 7, 7, 6, 8, 11, 5, 6, 7, 4, 11, 7, 6, 7, 5, 5, 8, 8,
9, 3, 3, 5, 5, 6, 10, 10, 10, 6, 8, 8, 8, 8, 8, 8, 11, 8, 7, 7, 7, 7, 5, 5, 5, 5,
9, 9, 10, 10, 10, 10, 10, 7, 10, 9, 9, 9, 9, 7, 7, 8, 7, 7, 7, 7, 7, 7, 11, 6, 7, 7,
7, 7, 3, 3, 3, 3, 8, 8, 8, 8, 8, 8, 8, 7, 8, 8, 8, 8, 8, 6, 8, 6 };
// Character widths
const cvf::uint CAF_FIXED_ATLAS_FONT_10_PT_CHARACTER_WIDTHS[] =
{13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 3, 2, 4, 8, 5, 9, 8, 2, 3, 3, 7, 7, 2, 3, 3, 7, 5, 3, 6, 5, 6, 5, 5, 5, 5, 5,
3, 3, 5, 5, 5, 5, 9, 10, 6, 7, 7, 5, 5, 7, 7, 5, 4, 8, 5, 9, 7, 8, 5, 8, 7, 6, 7, 7, 9,
13, 9, 9, 5, 3, 7, 3, 7, 5, 3, 5, 6, 4, 6, 5, 5, 7, 6, 3, 4, 6, 2, 9, 6, 6, 6, 6, 4, 5,
4, 6, 8, 12, 7, 8, 5, 5, 1, 5, 5, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 3, 2, 5, 5, 7, 7, 1, 5, 4, 9, 4, 4, 5, 3,
9, 7, 4, 7, 5, 4, 3, 6, 7, 3, 3, 2, 4, 4, 10, 10, 10, 5, 10, 10, 10, 10, 10, 10, 11, 7, 5, 5, 5,
5, 5, 5, 5, 5, 8, 7, 8, 8, 8, 8, 8, 7, 8, 7, 7, 7, 7, 9, 5, 6, 5, 5, 5, 5, 5, 5, 9, 4,
5, 5, 5, 5, 3, 3, 4, 4, 6, 6, 6, 6, 6, 6, 6, 7, 6, 6, 6, 6, 6, 8, 6, 8};
{ 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 3, 2, 4, 8, 5, 9, 8, 2, 3, 3, 7, 7, 2, 3, 3, 7, 5, 3, 6, 5,
6, 5, 5, 5, 5, 5, 3, 3, 5, 5, 5, 5, 9, 10, 6, 7, 7, 5, 5, 7, 7, 5, 4, 8, 5, 9,
7, 8, 5, 8, 7, 6, 7, 7, 9, 13, 9, 9, 5, 3, 7, 3, 7, 5, 3, 5, 6, 4, 6, 5, 5, 7,
6, 3, 4, 6, 2, 9, 6, 6, 6, 6, 4, 5, 4, 6, 8, 12, 7, 8, 5, 5, 1, 5, 5, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 3, 2, 5, 5, 7, 7, 1, 5, 4, 9, 4, 4, 5, 3, 9, 7, 4, 7, 5, 4, 3, 6,
7, 3, 3, 2, 4, 4, 10, 10, 10, 5, 10, 10, 10, 10, 10, 10, 11, 7, 5, 5, 5, 5, 5, 5, 5, 5,
8, 7, 8, 8, 8, 8, 8, 7, 8, 7, 7, 7, 7, 9, 5, 6, 5, 5, 5, 5, 5, 5, 9, 4, 5, 5,
5, 5, 3, 3, 4, 4, 6, 6, 6, 6, 6, 6, 6, 7, 6, 6, 6, 6, 6, 8, 6, 8 };
// Character heights
const cvf::uint CAF_FIXED_ATLAS_FONT_10_PT_CHARACTER_HEIGHTS[] =
{13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 3, 9, 3, 9, 10, 9, 9, 3, 11, 11, 6, 7, 3, 2, 2, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
7, 8, 5, 3, 5, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 11, 9, 9, 9, 9, 9, 9, 12, 9, 9, 9, 9, 9,
9, 9, 9, 9, 11, 9, 11, 6, 1, 2, 7, 10, 7, 10, 7, 10, 10, 10, 9, 12, 10, 10, 7, 7, 7, 10, 10, 7, 7,
9, 7, 7, 7, 7, 10, 7, 11, 13, 11, 4, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 3, 9, 9, 9, 6, 9, 13, 10, 1, 9, 4, 5, 4, 2,
9, 1, 4, 8, 6, 6, 2, 10, 12, 2, 3, 6, 4, 5, 9, 9, 9, 10, 12, 12, 12, 13, 11, 11, 9, 12, 12, 12, 12,
11, 12, 12, 12, 11, 9, 13, 12, 12, 12, 13, 11, 7, 11, 12, 12, 12, 11, 12, 9, 10, 10, 10, 10, 11, 9, 11, 7, 10,
10, 10, 10, 9, 10, 10, 10, 9, 10, 11, 10, 10, 10, 11, 9, 7, 7, 10, 10, 10, 9, 13, 13, 12};
{ 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 13, 13, 3, 9, 3, 9, 10, 9, 9, 3, 11, 11, 6, 7, 3, 2, 2, 9, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 7, 8, 5, 3, 5, 9, 10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 11, 9, 9, 9,
9, 9, 9, 12, 9, 9, 9, 9, 9, 9, 9, 9, 9, 11, 9, 11, 6, 1, 2, 7, 10, 7, 10, 7, 10, 10,
10, 9, 12, 10, 10, 7, 7, 7, 10, 10, 7, 7, 9, 7, 7, 7, 7, 10, 7, 11, 13, 11, 4, 13, 13, 13,
13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13,
13, 13, 13, 13, 3, 9, 9, 9, 6, 9, 13, 10, 1, 9, 4, 5, 4, 2, 9, 1, 4, 8, 6, 6, 2, 10,
12, 2, 3, 6, 4, 5, 9, 9, 9, 10, 12, 12, 12, 13, 11, 11, 9, 12, 12, 12, 12, 11, 12, 12, 12, 11,
9, 13, 12, 12, 12, 13, 11, 7, 11, 12, 12, 12, 11, 12, 9, 10, 10, 10, 10, 11, 9, 11, 7, 10, 10, 10,
10, 9, 10, 10, 10, 9, 10, 11, 10, 10, 10, 11, 9, 7, 7, 10, 10, 10, 9, 13, 13, 12 };
// Texture image dimensions
const size_t CAF_FIXED_ATLAS_FONT_10_PT_TEXTURE_IMAGE_WIDTH = 3328;
const size_t CAF_FIXED_ATLAS_FONT_10_PT_TEXTURE_IMAGE_HEIGHT = 13;
// Texture image data
const char* CAF_FIXED_ATLAS_FONT_10_PT_TEXTURE_IMAGE[] =
{"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
const char* CAF_FIXED_ATLAS_FONT_10_PT_TEXTURE_IMAGE[] = {
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
@ -4369,70 +4372,75 @@ const size_t CAF_FIXED_ATLAS_FONT_12_PT_NUM_GLYPHS = 256;
// Horizontal bearings X
const short CAF_FIXED_ATLAS_FONT_12_PT_HORIZONTAL_BEARINGS_X[] =
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, -1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0,
1, -1, 1, 0, 1, 1, 1, 0, 1, 0, -2, 1, 1, 1, 1, 0, 1, 0, 1, -1, 0, 1, -1, -1, -1, -2, 0, 1, -1, 0, 0, 0,
3, 1, 1, 1, 1, 1, 0, 0, 1, 0, -1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, -1, -1, 0, -1, 1, 0, 4, 0, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 1, 1, 0, 1, 4, 0, 2, 1, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 3, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0,
-1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, -2, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, 1, -1};
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, -1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1,
0, 0, 1, 1, 1, 0, 1, -1, 1, 0, 1, 1, 1, 0, 1, 0, -2, 1, 1, 1, 1, 0, 1, 0, 1, -1, 0, 1, -1,
-1, -1, -2, 0, 1, -1, 0, 0, 0, 3, 1, 1, 1, 1, 1, 0, 0, 1, 0, -1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
0, 1, -1, -1, 0, -1, 1, 0, 4, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 4, 0, 2, 1, 1, 0, 1, 1,
1, 0, 1, 0, 0, 0, 3, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, -1, -1, -1, -1, -1, -1, -1, 0, 1, 1, 1,
1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, -2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 0, 1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, 1, -1 };
// Horizontal bearings Y
const short CAF_FIXED_ATLAS_FONT_12_PT_HORIZONTAL_BEARINGS_Y[] =
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 12, 12, 12, 13, 12, 12, 12, 12, 12, 13, 10, 2, 5, 2, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
9, 9, 10, 8, 10, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
12, 12, 12, 12, 12, 12, 12, 12, -1, 13, 9, 13, 9, 13, 9, 13, 9, 13, 12, 12, 13, 13, 9, 9, 9, 9, 9, 9, 9,
11, 9, 9, 9, 9, 9, 9, 12, 13, 12, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 12, 12, 9, 12, 13, 13, 12, 12, 12, 8, 6, 5,
12, 13, 12, 10, 12, 12, 13, 9, 13, 7, 0, 12, 12, 8, 12, 12, 12, 9, 16, 16, 16, 17, 15, 15, 12, 12, 16, 16, 16,
15, 16, 16, 16, 15, 12, 17, 16, 16, 16, 17, 15, 9, 13, 16, 16, 16, 15, 16, 12, 13, 13, 13, 13, 14, 12, 14, 9, 9,
13, 13, 13, 12, 13, 13, 13, 12, 13, 14, 13, 13, 13, 14, 12, 9, 9, 13, 13, 13, 12, 13, 13, 12};
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 12, 12, 12, 13, 12, 12, 12, 12, 12, 13, 10, 2, 5, 2, 12, 12, 12, 12, 12,
12, 12, 12, 12, 12, 12, 9, 9, 10, 8, 10, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, -1, 13, 9, 13, 9, 13, 9, 13, 9,
13, 12, 12, 13, 13, 9, 9, 9, 9, 9, 9, 9, 11, 9, 9, 9, 9, 9, 9, 12, 13, 12, 8, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 9, 12, 12, 9, 12, 13, 13, 12, 12, 12, 8, 6, 5, 12, 13, 12, 10, 12, 12, 13, 9,
13, 7, 0, 12, 12, 8, 12, 12, 12, 9, 16, 16, 16, 17, 15, 15, 12, 12, 16, 16, 16, 15, 16, 16, 16, 15,
12, 17, 16, 16, 16, 17, 15, 9, 13, 16, 16, 16, 15, 16, 12, 13, 13, 13, 13, 14, 12, 14, 9, 9, 13, 13,
13, 12, 13, 13, 13, 12, 13, 14, 13, 13, 13, 14, 12, 9, 9, 13, 13, 13, 12, 13, 13, 12 };
// Horizontal advances
const cvf::uint CAF_FIXED_ATLAS_FONT_12_PT_HORIZONTAL_ADVANCES[] =
{16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 4, 4, 7, 10, 9, 13, 11, 4, 5, 5, 9, 9, 4, 5, 4, 6, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
4, 4, 9, 9, 9, 7, 14, 11, 11, 10, 11, 8, 8, 11, 11, 6, 4, 9, 8, 14, 12, 11, 9, 11, 10, 8, 8, 11, 10,
14, 9, 8, 9, 5, 6, 5, 9, 7, 9, 9, 9, 8, 9, 9, 4, 8, 9, 4, 4, 8, 4, 14, 9, 9, 9, 9, 6, 7,
5, 9, 8, 12, 8, 8, 8, 6, 9, 6, 9, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 4, 4, 9, 9, 9, 9, 9, 8, 9, 13, 6, 8, 9, 5,
13, 8, 7, 9, 6, 6, 9, 9, 10, 4, 3, 6, 6, 8, 12, 12, 12, 7, 11, 11, 11, 11, 11, 11, 14, 10, 8, 8, 8,
8, 6, 6, 6, 6, 11, 12, 11, 11, 11, 11, 11, 9, 11, 11, 11, 11, 11, 8, 9, 10, 9, 9, 9, 9, 9, 9, 14, 8,
9, 9, 9, 9, 4, 4, 4, 4, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 9, 8};
{ 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 4, 4, 7, 10, 9, 13, 11, 4, 5, 5, 9, 9, 4, 5, 4, 6, 9, 9, 9, 9,
9, 9, 9, 9, 9, 9, 4, 4, 9, 9, 9, 7, 14, 11, 11, 10, 11, 8, 8, 11, 11, 6, 4, 9, 8, 14,
12, 11, 9, 11, 10, 8, 8, 11, 10, 14, 9, 8, 9, 5, 6, 5, 9, 7, 9, 9, 9, 8, 9, 9, 4, 8,
9, 4, 4, 8, 4, 14, 9, 9, 9, 9, 6, 7, 5, 9, 8, 12, 8, 8, 8, 6, 9, 6, 9, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 4, 4, 9, 9, 9, 9, 9, 8, 9, 13, 6, 8, 9, 5, 13, 8, 7, 9, 6, 6, 9, 9,
10, 4, 3, 6, 6, 8, 12, 12, 12, 7, 11, 11, 11, 11, 11, 11, 14, 10, 8, 8, 8, 8, 6, 6, 6, 6,
11, 12, 11, 11, 11, 11, 11, 9, 11, 11, 11, 11, 11, 8, 9, 10, 9, 9, 9, 9, 9, 9, 14, 8, 9, 9,
9, 9, 4, 4, 4, 4, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 9, 8 };
// Character widths
const cvf::uint CAF_FIXED_ATLAS_FONT_12_PT_CHARACTER_WIDTHS[] =
{16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 4, 2, 5, 8, 7, 11, 10, 2, 5, 4, 8, 9, 3, 3, 3, 8, 7, 5, 8, 7, 9, 7, 7, 7, 7, 7,
3, 3, 7, 7, 7, 6, 12, 12, 8, 9, 9, 6, 6, 10, 8, 5, 5, 9, 7, 11, 9, 10, 7, 10, 9, 8, 8, 8, 11,
15, 10, 11, 8, 3, 8, 3, 9, 7, 3, 7, 7, 6, 7, 7, 5, 9, 7, 3, 4, 8, 2, 12, 7, 7, 7, 7, 5, 6,
5, 7, 10, 14, 8, 10, 7, 5, 2, 5, 7, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 4, 2, 7, 7, 8, 8, 2, 7, 5, 11, 4, 7, 7, 3,
11, 8, 5, 9, 6, 5, 3, 7, 7, 3, 3, 4, 4, 7, 11, 12, 12, 6, 12, 12, 12, 12, 12, 12, 14, 9, 6, 6, 6,
6, 5, 5, 5, 5, 10, 9, 10, 10, 10, 10, 10, 7, 10, 8, 8, 8, 8, 11, 7, 8, 7, 7, 7, 7, 7, 7, 12, 6,
7, 7, 7, 7, 3, 3, 5, 5, 7, 7, 7, 7, 7, 7, 7, 8, 7, 7, 7, 7, 7, 10, 7, 10};
{ 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 4, 2, 5, 8, 7, 11, 10, 2, 5, 4, 8, 9, 3, 3, 3, 8, 7, 5, 8, 7,
9, 7, 7, 7, 7, 7, 3, 3, 7, 7, 7, 6, 12, 12, 8, 9, 9, 6, 6, 10, 8, 5, 5, 9, 7, 11,
9, 10, 7, 10, 9, 8, 8, 8, 11, 15, 10, 11, 8, 3, 8, 3, 9, 7, 3, 7, 7, 6, 7, 7, 5, 9,
7, 3, 4, 8, 2, 12, 7, 7, 7, 7, 5, 6, 5, 7, 10, 14, 8, 10, 7, 5, 2, 5, 7, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 4, 2, 7, 7, 8, 8, 2, 7, 5, 11, 4, 7, 7, 3, 11, 8, 5, 9, 6, 5, 3, 7,
7, 3, 3, 4, 4, 7, 11, 12, 12, 6, 12, 12, 12, 12, 12, 12, 14, 9, 6, 6, 6, 6, 5, 5, 5, 5,
10, 9, 10, 10, 10, 10, 10, 7, 10, 8, 8, 8, 8, 11, 7, 8, 7, 7, 7, 7, 7, 7, 12, 6, 7, 7,
7, 7, 3, 3, 5, 5, 7, 7, 7, 7, 7, 7, 7, 8, 7, 7, 7, 7, 7, 10, 7, 10 };
// Character heights
const cvf::uint CAF_FIXED_ATLAS_FONT_12_PT_CHARACTER_HEIGHTS[] =
{16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 4, 12, 4, 12, 14, 12, 12, 4, 15, 15, 7, 9, 4, 2, 2, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
9, 11, 8, 5, 8, 12, 13, 12, 12, 12, 12, 12, 12, 12, 12, 12, 15, 12, 12, 12, 12, 12, 12, 15, 12, 12, 12, 12, 12,
12, 12, 12, 12, 15, 12, 15, 7, 2, 3, 9, 13, 9, 13, 9, 13, 13, 13, 12, 16, 13, 13, 9, 9, 9, 13, 13, 9, 9,
11, 9, 9, 9, 9, 13, 9, 15, 17, 15, 5, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 4, 12, 12, 12, 7, 12, 17, 13, 2, 12, 5, 7, 5, 2,
12, 2, 5, 10, 7, 7, 3, 13, 15, 2, 4, 7, 5, 7, 12, 12, 12, 12, 16, 16, 16, 17, 15, 15, 12, 16, 16, 16, 16,
15, 16, 16, 16, 15, 12, 17, 16, 16, 16, 17, 15, 7, 14, 16, 16, 16, 15, 16, 12, 13, 13, 13, 13, 14, 12, 14, 9, 13,
13, 13, 13, 12, 13, 13, 13, 12, 13, 14, 13, 13, 13, 14, 12, 7, 9, 13, 13, 13, 12, 17, 17, 16};
{ 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 16, 16, 4, 12, 4, 12, 14, 12, 12, 4, 15, 15, 7, 9, 4, 2, 2, 12, 12, 12, 12, 12,
12, 12, 12, 12, 12, 12, 9, 11, 8, 5, 8, 12, 13, 12, 12, 12, 12, 12, 12, 12, 12, 12, 15, 12, 12, 12,
12, 12, 12, 15, 12, 12, 12, 12, 12, 12, 12, 12, 12, 15, 12, 15, 7, 2, 3, 9, 13, 9, 13, 9, 13, 13,
13, 12, 16, 13, 13, 9, 9, 9, 13, 13, 9, 9, 11, 9, 9, 9, 9, 13, 9, 15, 17, 15, 5, 16, 16, 16,
16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16,
16, 16, 16, 16, 4, 12, 12, 12, 7, 12, 17, 13, 2, 12, 5, 7, 5, 2, 12, 2, 5, 10, 7, 7, 3, 13,
15, 2, 4, 7, 5, 7, 12, 12, 12, 12, 16, 16, 16, 17, 15, 15, 12, 16, 16, 16, 16, 15, 16, 16, 16, 15,
12, 17, 16, 16, 16, 17, 15, 7, 14, 16, 16, 16, 15, 16, 12, 13, 13, 13, 13, 14, 12, 14, 9, 13, 13, 13,
13, 12, 13, 13, 13, 12, 13, 14, 13, 13, 13, 14, 12, 7, 9, 13, 13, 13, 12, 17, 17, 16 };
// Texture image dimensions
const size_t CAF_FIXED_ATLAS_FONT_12_PT_TEXTURE_IMAGE_WIDTH = 4096;
const size_t CAF_FIXED_ATLAS_FONT_12_PT_TEXTURE_IMAGE_HEIGHT = 17;
// Texture image data
const char* CAF_FIXED_ATLAS_FONT_12_PT_TEXTURE_IMAGE[] =
{"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
const char* CAF_FIXED_ATLAS_FONT_12_PT_TEXTURE_IMAGE[] = {
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
@ -8801,70 +8809,75 @@ const size_t CAF_FIXED_ATLAS_FONT_14_PT_NUM_GLYPHS = 256;
// Horizontal bearings X
const short CAF_FIXED_ATLAS_FONT_14_PT_HORIZONTAL_BEARINGS_X[] =
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, -1, 1, 2, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0,
1, -1, 2, 1, 2, 2, 2, 1, 2, 0, -1, 2, 2, 2, 2, 1, 2, 1, 2, 0, 0, 2, -1, -1, -1, -1, 1, 2, -1, 0, 0, 0,
4, 0, 1, 0, 0, 0, 0, 0, 1, 0, -1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, -1, -1, 0, -1, 0, 1, 4, 1, 1, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 1, 1, 1, 0, 0, 4, 0, 3, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 4, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0,
-1, -1, -1, -1, -1, -1, -1, 1, 2, 2, 2, 2, 0, 0, 0, 0, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, -1, 2, 1,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, -1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, -1, 1, -1};
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, -1, 1, 2, 1, 1, 0, 1, 1, 1, 1, 1,
1, 0, 1, 1, 1, 0, 1, -1, 2, 1, 2, 2, 2, 1, 2, 0, -1, 2, 2, 2, 2, 1, 2, 1, 2, 0, 0, 2, -1,
-1, -1, -1, 1, 2, -1, 0, 0, 0, 4, 0, 1, 0, 0, 0, 0, 0, 1, 0, -1, 1, 1, 1, 1, 0, 1, 0, 1, 0,
0, 1, -1, -1, 0, -1, 0, 1, 4, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 4, 0, 3, 1, 1, 1, 1, 1,
1, 0, 1, 0, 0, 0, 4, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, -1, -1, -1, -1, -1, -1, -1, 1, 2, 2, 2,
2, 0, 0, 0, 0, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, -1, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, -1, 1, -1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, -1, 1, -1 };
// Horizontal bearings Y
const short CAF_FIXED_ATLAS_FONT_14_PT_HORIZONTAL_BEARINGS_Y[] =
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 14, 14, 14, 15, 14, 14, 14, 14, 14, 15, 11, 2, 6, 2, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
10, 10, 11, 9, 11, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
14, 14, 14, 14, 14, 14, 14, 14, -2, 15, 10, 15, 10, 15, 10, 15, 10, 15, 14, 14, 15, 15, 10, 10, 10, 10, 10, 10, 10,
13, 10, 10, 10, 10, 10, 10, 14, 15, 14, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 14, 14, 10, 14, 15, 15, 14, 14, 14, 9, 7, 6,
14, 16, 14, 11, 14, 14, 15, 10, 15, 7, 0, 14, 14, 9, 14, 14, 14, 10, 18, 18, 18, 19, 17, 17, 14, 14, 18, 18, 18,
17, 18, 18, 18, 17, 14, 19, 18, 18, 18, 19, 17, 11, 15, 18, 18, 18, 17, 18, 14, 15, 14, 14, 14, 15, 13, 15, 10, 10,
14, 14, 14, 13, 14, 14, 14, 13, 15, 15, 14, 14, 14, 15, 13, 11, 10, 14, 14, 14, 13, 14, 15, 13};
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 14, 14, 14, 15, 14, 14, 14, 14, 14, 15, 11, 2, 6, 2, 14, 14, 14, 14, 14,
14, 14, 14, 14, 14, 14, 10, 10, 11, 9, 11, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, -2, 15, 10, 15, 10, 15, 10, 15, 10,
15, 14, 14, 15, 15, 10, 10, 10, 10, 10, 10, 10, 13, 10, 10, 10, 10, 10, 10, 14, 15, 14, 9, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 10, 14, 14, 10, 14, 15, 15, 14, 14, 14, 9, 7, 6, 14, 16, 14, 11, 14, 14, 15, 10,
15, 7, 0, 14, 14, 9, 14, 14, 14, 10, 18, 18, 18, 19, 17, 17, 14, 14, 18, 18, 18, 17, 18, 18, 18, 17,
14, 19, 18, 18, 18, 19, 17, 11, 15, 18, 18, 18, 17, 18, 14, 15, 14, 14, 14, 15, 13, 15, 10, 10, 14, 14,
14, 13, 14, 14, 14, 13, 15, 15, 14, 14, 14, 15, 13, 11, 10, 14, 14, 14, 13, 14, 15, 13 };
// Horizontal advances
const cvf::uint CAF_FIXED_ATLAS_FONT_14_PT_HORIZONTAL_ADVANCES[] =
{19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 5, 4, 8, 12, 10, 16, 13, 4, 6, 6, 10, 10, 4, 6, 4, 7, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
4, 4, 10, 10, 10, 8, 16, 12, 12, 12, 13, 10, 9, 13, 14, 6, 5, 11, 10, 17, 14, 14, 11, 14, 12, 10, 10, 14, 11,
17, 10, 10, 10, 6, 7, 6, 10, 8, 11, 10, 11, 9, 11, 10, 7, 10, 11, 5, 5, 9, 5, 17, 11, 10, 11, 11, 8, 9,
6, 11, 10, 14, 10, 10, 8, 7, 10, 7, 10, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 4, 10, 10, 10, 10, 10, 10, 11, 16, 7, 10, 10, 6,
16, 10, 8, 10, 6, 6, 11, 11, 12, 4, 4, 6, 7, 10, 14, 14, 14, 8, 12, 12, 12, 12, 12, 12, 16, 12, 10, 10, 10,
10, 6, 6, 6, 6, 13, 14, 14, 14, 14, 14, 14, 10, 14, 14, 14, 14, 14, 10, 11, 11, 10, 10, 10, 10, 10, 10, 16, 9,
10, 10, 10, 10, 5, 5, 5, 5, 10, 11, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 10, 11, 10};
{ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 5, 4, 8, 12, 10, 16, 13, 4, 6, 6, 10, 10, 4, 6, 4, 7, 10, 10, 10, 10,
10, 10, 10, 10, 10, 10, 4, 4, 10, 10, 10, 8, 16, 12, 12, 12, 13, 10, 9, 13, 14, 6, 5, 11, 10, 17,
14, 14, 11, 14, 12, 10, 10, 14, 11, 17, 10, 10, 10, 6, 7, 6, 10, 8, 11, 10, 11, 9, 11, 10, 7, 10,
11, 5, 5, 9, 5, 17, 11, 10, 11, 11, 8, 9, 6, 11, 10, 14, 10, 10, 8, 7, 10, 7, 10, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 5, 4, 10, 10, 10, 10, 10, 10, 11, 16, 7, 10, 10, 6, 16, 10, 8, 10, 6, 6, 11, 11,
12, 4, 4, 6, 7, 10, 14, 14, 14, 8, 12, 12, 12, 12, 12, 12, 16, 12, 10, 10, 10, 10, 6, 6, 6, 6,
13, 14, 14, 14, 14, 14, 14, 10, 14, 14, 14, 14, 14, 10, 11, 11, 10, 10, 10, 10, 10, 10, 16, 9, 10, 10,
10, 10, 5, 5, 5, 5, 10, 11, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 10, 11, 10 };
// Character widths
const cvf::uint CAF_FIXED_ATLAS_FONT_14_PT_CHARACTER_WIDTHS[] =
{19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 5, 3, 6, 12, 8, 14, 12, 2, 5, 4, 10, 9, 3, 4, 2, 9, 8, 5, 8, 8, 10, 8, 8, 8, 8, 8,
2, 3, 8, 8, 8, 7, 14, 14, 9, 10, 10, 7, 7, 11, 10, 6, 5, 10, 8, 13, 10, 12, 8, 12, 10, 9, 10, 10, 13,
19, 12, 12, 8, 4, 9, 4, 10, 8, 4, 8, 9, 8, 9, 9, 7, 10, 8, 3, 4, 9, 2, 14, 8, 9, 9, 9, 6, 7,
6, 8, 11, 15, 9, 11, 8, 5, 2, 5, 8, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 3, 7, 8, 10, 10, 2, 8, 5, 14, 5, 8, 8, 4,
14, 10, 6, 9, 6, 5, 4, 8, 9, 2, 4, 4, 5, 8, 12, 13, 14, 7, 14, 14, 14, 14, 14, 14, 16, 10, 7, 7, 7,
7, 6, 6, 6, 6, 11, 10, 12, 12, 12, 12, 12, 9, 12, 10, 10, 10, 10, 12, 8, 9, 8, 8, 8, 8, 8, 8, 15, 8,
9, 9, 9, 9, 4, 4, 6, 5, 9, 8, 9, 9, 9, 9, 9, 10, 9, 8, 8, 8, 8, 11, 9, 11};
{ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 5, 3, 6, 12, 8, 14, 12, 2, 5, 4, 10, 9, 3, 4, 2, 9, 8, 5, 8, 8,
10, 8, 8, 8, 8, 8, 2, 3, 8, 8, 8, 7, 14, 14, 9, 10, 10, 7, 7, 11, 10, 6, 5, 10, 8, 13,
10, 12, 8, 12, 10, 9, 10, 10, 13, 19, 12, 12, 8, 4, 9, 4, 10, 8, 4, 8, 9, 8, 9, 9, 7, 10,
8, 3, 4, 9, 2, 14, 8, 9, 9, 9, 6, 7, 6, 8, 11, 15, 9, 11, 8, 5, 2, 5, 8, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 5, 3, 7, 8, 10, 10, 2, 8, 5, 14, 5, 8, 8, 4, 14, 10, 6, 9, 6, 5, 4, 8,
9, 2, 4, 4, 5, 8, 12, 13, 14, 7, 14, 14, 14, 14, 14, 14, 16, 10, 7, 7, 7, 7, 6, 6, 6, 6,
11, 10, 12, 12, 12, 12, 12, 9, 12, 10, 10, 10, 10, 12, 8, 9, 8, 8, 8, 8, 8, 8, 15, 8, 9, 9,
9, 9, 4, 4, 6, 5, 9, 8, 9, 9, 9, 9, 9, 10, 9, 8, 8, 8, 8, 11, 9, 11 };
// Character heights
const cvf::uint CAF_FIXED_ATLAS_FONT_14_PT_CHARACTER_HEIGHTS[] =
{19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 5, 14, 5, 14, 16, 14, 14, 5, 17, 17, 9, 9, 5, 2, 2, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14,
10, 13, 9, 6, 9, 14, 16, 14, 14, 14, 14, 14, 14, 14, 14, 14, 18, 14, 14, 14, 14, 14, 14, 18, 14, 14, 14, 14, 14,
14, 14, 14, 14, 17, 14, 17, 9, 2, 3, 10, 15, 10, 15, 10, 15, 15, 15, 14, 19, 15, 15, 10, 10, 10, 15, 15, 10, 10,
13, 10, 10, 10, 10, 15, 10, 17, 20, 17, 5, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 5, 13, 14, 14, 9, 14, 20, 15, 2, 14, 6, 8, 5, 2,
14, 2, 6, 11, 8, 8, 3, 15, 17, 2, 5, 8, 6, 8, 14, 14, 14, 14, 18, 18, 18, 19, 17, 17, 14, 19, 18, 18, 18,
17, 18, 18, 18, 17, 14, 19, 18, 18, 18, 19, 17, 9, 16, 18, 18, 18, 17, 18, 14, 15, 14, 14, 14, 15, 13, 15, 10, 15,
14, 14, 14, 13, 14, 14, 14, 13, 15, 15, 14, 14, 14, 15, 13, 10, 11, 14, 14, 14, 13, 19, 20, 18};
{ 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 19, 19, 5, 14, 5, 14, 16, 14, 14, 5, 17, 17, 9, 9, 5, 2, 2, 14, 14, 14, 14, 14,
14, 14, 14, 14, 14, 14, 10, 13, 9, 6, 9, 14, 16, 14, 14, 14, 14, 14, 14, 14, 14, 14, 18, 14, 14, 14,
14, 14, 14, 18, 14, 14, 14, 14, 14, 14, 14, 14, 14, 17, 14, 17, 9, 2, 3, 10, 15, 10, 15, 10, 15, 15,
15, 14, 19, 15, 15, 10, 10, 10, 15, 15, 10, 10, 13, 10, 10, 10, 10, 15, 10, 17, 20, 17, 5, 19, 19, 19,
19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19, 19,
19, 19, 19, 19, 5, 13, 14, 14, 9, 14, 20, 15, 2, 14, 6, 8, 5, 2, 14, 2, 6, 11, 8, 8, 3, 15,
17, 2, 5, 8, 6, 8, 14, 14, 14, 14, 18, 18, 18, 19, 17, 17, 14, 19, 18, 18, 18, 17, 18, 18, 18, 17,
14, 19, 18, 18, 18, 19, 17, 9, 16, 18, 18, 18, 17, 18, 14, 15, 14, 14, 14, 15, 13, 15, 10, 15, 14, 14,
14, 13, 14, 14, 14, 13, 15, 15, 14, 14, 14, 15, 13, 10, 11, 14, 14, 14, 13, 19, 20, 18 };
// Texture image dimensions
const size_t CAF_FIXED_ATLAS_FONT_14_PT_TEXTURE_IMAGE_WIDTH = 4864;
const size_t CAF_FIXED_ATLAS_FONT_14_PT_TEXTURE_IMAGE_HEIGHT = 20;
// Texture image data
const char* CAF_FIXED_ATLAS_FONT_14_PT_TEXTURE_IMAGE[] =
{"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
const char* CAF_FIXED_ATLAS_FONT_14_PT_TEXTURE_IMAGE[] = {
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
@ -14972,59 +14985,63 @@ const short CAF_FIXED_ATLAS_FONT_24_PT_HORIZONTAL_BEARINGS_X[] =
// Horizontal bearings Y
const short CAF_FIXED_ATLAS_FONT_24_PT_HORIZONTAL_BEARINGS_Y[] =
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 23, 23, 23, 25, 23, 23, 23, 23, 23, 24, 19, 4, 10, 4, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
17, 17, 19, 16, 19, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, -3, 24, 17, 24, 17, 24, 17, 24, 17, 24, 24, 24, 24, 24, 17, 17, 17, 17, 17, 17, 17,
21, 17, 17, 17, 17, 17, 17, 23, 24, 23, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17, 23, 23, 18, 23, 24, 24, 23, 23, 23, 15, 12, 10,
23, 27, 23, 19, 23, 23, 24, 17, 24, 13, 0, 23, 23, 15, 23, 23, 23, 17, 30, 30, 30, 30, 28, 28, 23, 23, 30, 30, 30,
28, 30, 30, 30, 28, 23, 30, 30, 30, 30, 30, 28, 20, 24, 30, 30, 30, 28, 30, 23, 24, 24, 24, 24, 24, 23, 26, 17, 17,
24, 24, 24, 23, 24, 24, 24, 23, 24, 24, 24, 24, 24, 24, 23, 18, 18, 24, 24, 24, 23, 24, 24, 23};
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 23, 23, 23, 25, 23, 23, 23, 23, 23, 24, 19, 4, 10, 4, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 17, 17, 19, 16, 19, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, -3, 24, 17, 24, 17, 24, 17, 24, 17,
24, 24, 24, 24, 24, 17, 17, 17, 17, 17, 17, 17, 21, 17, 17, 17, 17, 17, 17, 23, 24, 23, 14, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 17, 23, 23, 18, 23, 24, 24, 23, 23, 23, 15, 12, 10, 23, 27, 23, 19, 23, 23, 24, 17,
24, 13, 0, 23, 23, 15, 23, 23, 23, 17, 30, 30, 30, 30, 28, 28, 23, 23, 30, 30, 30, 28, 30, 30, 30, 28,
23, 30, 30, 30, 30, 30, 28, 20, 24, 30, 30, 30, 28, 30, 23, 24, 24, 24, 24, 24, 23, 26, 17, 17, 24, 24,
24, 23, 24, 24, 24, 23, 24, 24, 24, 24, 24, 24, 23, 18, 18, 24, 24, 24, 23, 24, 24, 23 };
// Horizontal advances
const cvf::uint CAF_FIXED_ATLAS_FONT_24_PT_HORIZONTAL_ADVANCES[] =
{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 8, 9, 13, 21, 18, 26, 22, 7, 10, 10, 18, 18, 8, 10, 9, 12, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18,
9, 9, 18, 18, 18, 14, 28, 19, 20, 19, 22, 17, 16, 22, 22, 11, 9, 19, 16, 28, 23, 24, 18, 24, 19, 17, 17, 22, 18,
28, 18, 17, 17, 10, 12, 10, 17, 13, 18, 17, 19, 15, 19, 17, 11, 17, 19, 8, 8, 16, 8, 29, 19, 18, 19, 19, 13, 14,
11, 19, 15, 24, 16, 16, 14, 11, 18, 11, 18, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 8, 9, 18, 18, 18, 18, 18, 16, 18, 27, 11, 16, 18, 10,
27, 16, 14, 18, 11, 11, 18, 19, 21, 9, 7, 11, 11, 16, 24, 24, 24, 14, 19, 19, 19, 19, 19, 19, 27, 19, 17, 17, 17,
17, 11, 11, 11, 11, 22, 23, 24, 24, 24, 24, 24, 18, 24, 22, 22, 22, 22, 17, 18, 19, 17, 17, 17, 17, 17, 17, 27, 15,
17, 17, 17, 17, 8, 8, 8, 8, 18, 19, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 16, 19, 16};
{ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 8, 9, 13, 21, 18, 26, 22, 7, 10, 10, 18, 18, 8, 10, 9, 12, 18, 18, 18, 18,
18, 18, 18, 18, 18, 18, 9, 9, 18, 18, 18, 14, 28, 19, 20, 19, 22, 17, 16, 22, 22, 11, 9, 19, 16, 28,
23, 24, 18, 24, 19, 17, 17, 22, 18, 28, 18, 17, 17, 10, 12, 10, 17, 13, 18, 17, 19, 15, 19, 17, 11, 17,
19, 8, 8, 16, 8, 29, 19, 18, 19, 19, 13, 14, 11, 19, 15, 24, 16, 16, 14, 11, 18, 11, 18, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 8, 9, 18, 18, 18, 18, 18, 16, 18, 27, 11, 16, 18, 10, 27, 16, 14, 18, 11, 11, 18, 19,
21, 9, 7, 11, 11, 16, 24, 24, 24, 14, 19, 19, 19, 19, 19, 19, 27, 19, 17, 17, 17, 17, 11, 11, 11, 11,
22, 23, 24, 24, 24, 24, 24, 18, 24, 22, 22, 22, 22, 17, 18, 19, 17, 17, 17, 17, 17, 17, 27, 15, 17, 17,
17, 17, 8, 8, 8, 8, 18, 19, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 16, 19, 16 };
// Character widths
const cvf::uint CAF_FIXED_ATLAS_FONT_24_PT_CHARACTER_WIDTHS[] =
{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 8, 4, 10, 19, 14, 22, 19, 4, 8, 7, 15, 16, 5, 8, 4, 13, 14, 9, 14, 15, 17, 14, 15, 15, 14, 14,
4, 5, 14, 14, 14, 12, 24, 21, 15, 16, 17, 12, 12, 18, 16, 9, 9, 17, 13, 22, 17, 20, 13, 20, 16, 14, 16, 16, 20,
30, 20, 19, 13, 6, 13, 6, 15, 13, 6, 12, 14, 12, 14, 13, 11, 16, 13, 5, 8, 14, 3, 23, 13, 14, 14, 14, 9, 11,
9, 13, 17, 26, 14, 18, 12, 10, 3, 10, 14, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 8, 4, 12, 16, 16, 17, 3, 13, 9, 23, 8, 14, 14, 8,
23, 16, 10, 16, 10, 9, 6, 13, 16, 4, 6, 7, 9, 13, 22, 23, 23, 12, 21, 21, 21, 21, 21, 21, 26, 16, 12, 12, 12,
12, 9, 9, 10, 9, 19, 17, 20, 20, 20, 20, 20, 15, 20, 16, 16, 16, 16, 19, 13, 14, 12, 12, 12, 12, 12, 12, 23, 12,
13, 13, 13, 13, 6, 6, 10, 9, 14, 13, 14, 14, 14, 14, 14, 16, 14, 13, 13, 13, 13, 18, 14, 18};
{ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 8, 4, 10, 19, 14, 22, 19, 4, 8, 7, 15, 16, 5, 8, 4, 13, 14, 9, 14, 15,
17, 14, 15, 15, 14, 14, 4, 5, 14, 14, 14, 12, 24, 21, 15, 16, 17, 12, 12, 18, 16, 9, 9, 17, 13, 22,
17, 20, 13, 20, 16, 14, 16, 16, 20, 30, 20, 19, 13, 6, 13, 6, 15, 13, 6, 12, 14, 12, 14, 13, 11, 16,
13, 5, 8, 14, 3, 23, 13, 14, 14, 14, 9, 11, 9, 13, 17, 26, 14, 18, 12, 10, 3, 10, 14, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 8, 4, 12, 16, 16, 17, 3, 13, 9, 23, 8, 14, 14, 8, 23, 16, 10, 16, 10, 9, 6, 13,
16, 4, 6, 7, 9, 13, 22, 23, 23, 12, 21, 21, 21, 21, 21, 21, 26, 16, 12, 12, 12, 12, 9, 9, 10, 9,
19, 17, 20, 20, 20, 20, 20, 15, 20, 16, 16, 16, 16, 19, 13, 14, 12, 12, 12, 12, 12, 12, 23, 12, 13, 13,
13, 13, 6, 6, 10, 9, 14, 13, 14, 14, 14, 14, 14, 16, 14, 13, 13, 13, 13, 18, 14, 18 };
// Character heights
const cvf::uint CAF_FIXED_ATLAS_FONT_24_PT_CHARACTER_HEIGHTS[] =
{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 8, 23, 8, 23, 26, 23, 23, 8, 28, 28, 14, 16, 8, 3, 4, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
17, 21, 16, 9, 16, 23, 26, 23, 23, 23, 23, 23, 23, 23, 23, 23, 29, 23, 23, 23, 23, 23, 23, 29, 23, 23, 23, 23, 23,
23, 23, 23, 23, 28, 23, 28, 14, 3, 5, 17, 24, 17, 24, 17, 24, 25, 24, 24, 32, 24, 24, 17, 17, 17, 25, 25, 17, 17,
21, 17, 17, 17, 17, 25, 17, 28, 32, 28, 6, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 8, 23, 23, 23, 15, 23, 32, 24, 3, 23, 11, 13, 9, 3,
23, 3, 10, 19, 14, 14, 5, 25, 28, 4, 8, 14, 11, 13, 23, 23, 23, 23, 30, 30, 30, 30, 28, 28, 23, 31, 30, 30, 30,
28, 30, 30, 30, 28, 23, 30, 30, 30, 30, 30, 28, 15, 25, 30, 30, 30, 28, 30, 23, 24, 24, 24, 24, 24, 23, 26, 17, 25,
24, 24, 24, 23, 24, 24, 24, 23, 24, 24, 24, 24, 24, 24, 23, 15, 19, 24, 24, 24, 23, 32, 32, 31};
{ 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 8, 23, 8, 23, 26, 23, 23, 8, 28, 28, 14, 16, 8, 3, 4, 23, 23, 23, 23, 23,
23, 23, 23, 23, 23, 23, 17, 21, 16, 9, 16, 23, 26, 23, 23, 23, 23, 23, 23, 23, 23, 23, 29, 23, 23, 23,
23, 23, 23, 29, 23, 23, 23, 23, 23, 23, 23, 23, 23, 28, 23, 28, 14, 3, 5, 17, 24, 17, 24, 17, 24, 25,
24, 24, 32, 24, 24, 17, 17, 17, 25, 25, 17, 17, 21, 17, 17, 17, 17, 25, 17, 28, 32, 28, 6, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 8, 23, 23, 23, 15, 23, 32, 24, 3, 23, 11, 13, 9, 3, 23, 3, 10, 19, 14, 14, 5, 25,
28, 4, 8, 14, 11, 13, 23, 23, 23, 23, 30, 30, 30, 30, 28, 28, 23, 31, 30, 30, 30, 28, 30, 30, 30, 28,
23, 30, 30, 30, 30, 30, 28, 15, 25, 30, 30, 30, 28, 30, 23, 24, 24, 24, 24, 24, 23, 26, 17, 25, 24, 24,
24, 23, 24, 24, 24, 23, 24, 24, 24, 24, 24, 24, 23, 15, 19, 24, 24, 24, 23, 32, 32, 31 };
// Texture image dimensions
const size_t CAF_FIXED_ATLAS_FONT_24_PT_TEXTURE_IMAGE_WIDTH = 8192;
const size_t CAF_FIXED_ATLAS_FONT_24_PT_TEXTURE_IMAGE_HEIGHT = 32;
// Texture image data
const char* CAF_FIXED_ATLAS_FONT_24_PT_TEXTURE_IMAGE[] =
{"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
const char* CAF_FIXED_ATLAS_FONT_24_PT_TEXTURE_IMAGE[] = {
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
@ -31436,59 +31453,63 @@ const short CAF_FIXED_ATLAS_FONT_32_PT_HORIZONTAL_BEARINGS_X[] =
// Horizontal bearings Y
const short CAF_FIXED_ATLAS_FONT_32_PT_HORIZONTAL_BEARINGS_Y[] =
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 31, 31, 31, 33, 31, 31, 31, 31, 31, 33, 26, 5, 13, 5, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
23, 23, 26, 21, 26, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, -4, 33, 23, 33, 23, 33, 23, 33, 23, 33, 32, 32, 33, 33, 23, 23, 23, 23, 23, 23, 23,
29, 23, 23, 23, 23, 23, 23, 31, 33, 31, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 23, 31, 31, 24, 31, 33, 33, 31, 31, 31, 20, 17, 13,
31, 36, 31, 26, 31, 31, 33, 23, 33, 18, 0, 31, 31, 20, 31, 31, 31, 23, 40, 40, 40, 40, 38, 38, 31, 31, 40, 40, 40,
38, 40, 40, 40, 38, 31, 40, 40, 40, 40, 40, 38, 26, 32, 40, 40, 40, 38, 40, 31, 33, 33, 33, 33, 33, 31, 35, 23, 23,
33, 33, 33, 31, 33, 33, 33, 31, 33, 33, 33, 33, 33, 33, 31, 25, 24, 33, 33, 33, 31, 33, 33, 31};
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 31, 31, 31, 33, 31, 31, 31, 31, 31, 33, 26, 5, 13, 5, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 23, 23, 26, 21, 26, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, -4, 33, 23, 33, 23, 33, 23, 33, 23,
33, 32, 32, 33, 33, 23, 23, 23, 23, 23, 23, 23, 29, 23, 23, 23, 23, 23, 23, 31, 33, 31, 19, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 23, 31, 31, 24, 31, 33, 33, 31, 31, 31, 20, 17, 13, 31, 36, 31, 26, 31, 31, 33, 23,
33, 18, 0, 31, 31, 20, 31, 31, 31, 23, 40, 40, 40, 40, 38, 38, 31, 31, 40, 40, 40, 38, 40, 40, 40, 38,
31, 40, 40, 40, 40, 40, 38, 26, 32, 40, 40, 40, 38, 40, 31, 33, 33, 33, 33, 33, 31, 35, 23, 23, 33, 33,
33, 31, 33, 33, 33, 31, 33, 33, 33, 33, 33, 33, 31, 25, 24, 33, 33, 33, 31, 33, 33, 31 };
// Horizontal advances
const cvf::uint CAF_FIXED_ATLAS_FONT_32_PT_HORIZONTAL_ADVANCES[] =
{43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 11, 12, 17, 28, 24, 35, 30, 10, 13, 13, 24, 24, 11, 14, 12, 16, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24,
12, 12, 24, 24, 24, 18, 37, 26, 27, 26, 29, 23, 21, 30, 30, 15, 12, 25, 21, 37, 31, 32, 25, 32, 25, 22, 22, 30, 24,
38, 24, 23, 23, 13, 16, 13, 23, 18, 25, 23, 25, 20, 25, 23, 14, 22, 25, 11, 11, 21, 11, 39, 25, 25, 25, 25, 17, 19,
15, 25, 21, 32, 22, 21, 19, 15, 24, 15, 24, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 11, 12, 24, 24, 24, 24, 24, 21, 25, 36, 14, 21, 24, 14,
36, 22, 18, 24, 14, 14, 25, 26, 28, 12, 9, 14, 15, 21, 32, 32, 32, 18, 26, 26, 26, 26, 26, 26, 37, 26, 23, 23, 23,
23, 15, 15, 15, 15, 29, 31, 32, 32, 32, 32, 32, 24, 32, 30, 30, 30, 30, 23, 25, 26, 23, 23, 23, 23, 23, 23, 36, 20,
23, 23, 23, 23, 11, 11, 11, 11, 25, 25, 25, 25, 25, 25, 25, 24, 25, 25, 25, 25, 25, 21, 25, 21};
{ 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 43, 43, 43, 11, 12, 17, 28, 24, 35, 30, 10, 13, 13, 24, 24, 11, 14, 12, 16, 24, 24, 24, 24,
24, 24, 24, 24, 24, 24, 12, 12, 24, 24, 24, 18, 37, 26, 27, 26, 29, 23, 21, 30, 30, 15, 12, 25, 21, 37,
31, 32, 25, 32, 25, 22, 22, 30, 24, 38, 24, 23, 23, 13, 16, 13, 23, 18, 25, 23, 25, 20, 25, 23, 14, 22,
25, 11, 11, 21, 11, 39, 25, 25, 25, 25, 17, 19, 15, 25, 21, 32, 22, 21, 19, 15, 24, 15, 24, 43, 43, 43,
43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 43, 11, 12, 24, 24, 24, 24, 24, 21, 25, 36, 14, 21, 24, 14, 36, 22, 18, 24, 14, 14, 25, 26,
28, 12, 9, 14, 15, 21, 32, 32, 32, 18, 26, 26, 26, 26, 26, 26, 37, 26, 23, 23, 23, 23, 15, 15, 15, 15,
29, 31, 32, 32, 32, 32, 32, 24, 32, 30, 30, 30, 30, 23, 25, 26, 23, 23, 23, 23, 23, 23, 36, 20, 23, 23,
23, 23, 11, 11, 11, 11, 25, 25, 25, 25, 25, 25, 25, 24, 25, 25, 25, 25, 25, 21, 25, 21 };
// Character widths
const cvf::uint CAF_FIXED_ATLAS_FONT_32_PT_CHARACTER_WIDTHS[] =
{43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 11, 6, 12, 26, 18, 31, 27, 5, 11, 10, 20, 21, 7, 10, 5, 17, 20, 11, 20, 19, 23, 19, 20, 20, 20, 20,
5, 7, 20, 20, 20, 16, 33, 28, 20, 22, 22, 16, 16, 24, 22, 12, 12, 22, 16, 29, 23, 26, 18, 26, 21, 17, 22, 22, 26,
40, 26, 24, 17, 9, 17, 9, 21, 18, 8, 17, 19, 17, 19, 19, 15, 21, 17, 6, 10, 18, 4, 31, 17, 21, 19, 19, 12, 16,
13, 17, 23, 34, 20, 23, 16, 12, 4, 12, 20, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 11, 6, 16, 22, 20, 22, 4, 16, 12, 32, 11, 17, 20, 10,
32, 22, 12, 21, 12, 12, 8, 18, 21, 5, 8, 8, 13, 17, 29, 29, 30, 16, 28, 28, 28, 28, 28, 28, 35, 22, 16, 16, 16,
16, 12, 12, 14, 12, 25, 23, 26, 26, 26, 26, 26, 19, 26, 22, 22, 22, 22, 24, 18, 20, 17, 17, 17, 17, 17, 17, 32, 17,
19, 19, 19, 19, 8, 9, 14, 12, 21, 17, 21, 21, 21, 21, 21, 21, 21, 17, 17, 17, 17, 23, 19, 23};
{ 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 43, 43, 43, 11, 6, 12, 26, 18, 31, 27, 5, 11, 10, 20, 21, 7, 10, 5, 17, 20, 11, 20, 19,
23, 19, 20, 20, 20, 20, 5, 7, 20, 20, 20, 16, 33, 28, 20, 22, 22, 16, 16, 24, 22, 12, 12, 22, 16, 29,
23, 26, 18, 26, 21, 17, 22, 22, 26, 40, 26, 24, 17, 9, 17, 9, 21, 18, 8, 17, 19, 17, 19, 19, 15, 21,
17, 6, 10, 18, 4, 31, 17, 21, 19, 19, 12, 16, 13, 17, 23, 34, 20, 23, 16, 12, 4, 12, 20, 43, 43, 43,
43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 43, 11, 6, 16, 22, 20, 22, 4, 16, 12, 32, 11, 17, 20, 10, 32, 22, 12, 21, 12, 12, 8, 18,
21, 5, 8, 8, 13, 17, 29, 29, 30, 16, 28, 28, 28, 28, 28, 28, 35, 22, 16, 16, 16, 16, 12, 12, 14, 12,
25, 23, 26, 26, 26, 26, 26, 19, 26, 22, 22, 22, 22, 24, 18, 20, 17, 17, 17, 17, 17, 17, 32, 17, 19, 19,
19, 19, 8, 9, 14, 12, 21, 17, 21, 21, 21, 21, 21, 21, 21, 17, 17, 17, 17, 23, 19, 23 };
// Character heights
const cvf::uint CAF_FIXED_ATLAS_FONT_32_PT_CHARACTER_HEIGHTS[] =
{43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 11, 32, 11, 31, 36, 31, 31, 11, 38, 38, 19, 21, 11, 4, 6, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31,
24, 29, 21, 13, 21, 32, 35, 31, 31, 31, 31, 31, 31, 31, 31, 31, 39, 31, 31, 31, 31, 31, 31, 40, 31, 31, 31, 31, 31,
31, 31, 31, 31, 38, 31, 38, 19, 3, 7, 23, 33, 23, 33, 23, 33, 33, 33, 32, 42, 33, 33, 23, 23, 23, 33, 33, 23, 23,
29, 23, 23, 23, 23, 33, 23, 38, 43, 38, 8, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 11, 31, 31, 31, 19, 31, 43, 33, 4, 31, 15, 18, 12, 4,
31, 3, 13, 26, 18, 18, 7, 33, 38, 6, 10, 18, 15, 18, 31, 31, 31, 31, 40, 40, 40, 40, 38, 38, 31, 41, 40, 40, 40,
38, 40, 40, 40, 38, 31, 40, 40, 40, 40, 40, 38, 19, 34, 40, 40, 40, 38, 40, 31, 33, 33, 33, 33, 33, 31, 35, 23, 33,
33, 33, 33, 31, 33, 33, 33, 31, 33, 33, 33, 33, 33, 33, 31, 20, 25, 33, 33, 33, 31, 43, 43, 41};
{ 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 43, 43, 43, 11, 32, 11, 31, 36, 31, 31, 11, 38, 38, 19, 21, 11, 4, 6, 31, 31, 31, 31, 31,
31, 31, 31, 31, 31, 31, 24, 29, 21, 13, 21, 32, 35, 31, 31, 31, 31, 31, 31, 31, 31, 31, 39, 31, 31, 31,
31, 31, 31, 40, 31, 31, 31, 31, 31, 31, 31, 31, 31, 38, 31, 38, 19, 3, 7, 23, 33, 23, 33, 23, 33, 33,
33, 32, 42, 33, 33, 23, 23, 23, 33, 33, 23, 23, 29, 23, 23, 23, 23, 33, 23, 38, 43, 38, 8, 43, 43, 43,
43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
43, 43, 43, 43, 11, 31, 31, 31, 19, 31, 43, 33, 4, 31, 15, 18, 12, 4, 31, 3, 13, 26, 18, 18, 7, 33,
38, 6, 10, 18, 15, 18, 31, 31, 31, 31, 40, 40, 40, 40, 38, 38, 31, 41, 40, 40, 40, 38, 40, 40, 40, 38,
31, 40, 40, 40, 40, 40, 38, 19, 34, 40, 40, 40, 38, 40, 31, 33, 33, 33, 33, 33, 31, 35, 23, 33, 33, 33,
33, 31, 33, 33, 33, 31, 33, 33, 33, 33, 33, 33, 31, 20, 25, 33, 33, 33, 31, 43, 43, 41 };
// Texture image dimensions
const size_t CAF_FIXED_ATLAS_FONT_32_PT_TEXTURE_IMAGE_WIDTH = 11008;
const size_t CAF_FIXED_ATLAS_FONT_32_PT_TEXTURE_IMAGE_HEIGHT = 43;
// Texture image data
const char* CAF_FIXED_ATLAS_FONT_32_PT_TEXTURE_IMAGE[] =
{"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
const char* CAF_FIXED_ATLAS_FONT_32_PT_TEXTURE_IMAGE[] = {
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
@ -61126,47 +61147,50 @@ const short CVF_FIXED_ATLAS_FONT_STANDARD_HORIZONTAL_BEARINGS_Y[] =
// Horizontal advances
const cvf::uint CVF_FIXED_ATLAS_FONT_STANDARD_HORIZONTAL_ADVANCES[] =
{11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 3, 3, 5, 7, 6, 9, 8, 3, 3, 3, 6, 6, 3, 4, 3, 4, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
3, 3, 6, 6, 6, 5, 10, 7, 7, 7, 8, 6, 5, 8, 8, 3, 3, 7, 5, 10, 8, 9, 6, 9, 7, 6, 5, 8, 7,
9, 6, 7, 7, 3, 4, 3, 6, 5, 6, 6, 6, 5, 6, 6, 4, 6, 6, 2, 2, 5, 2, 10, 6, 6, 6, 6, 4, 5,
4, 6, 6, 8, 6, 6, 5, 4, 5, 4, 6, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 6, 6, 6, 6, 5, 5, 6, 9, 4, 5, 6, 4,
9, 6, 5, 6, 4, 4, 6, 6, 7, 3, 2, 4, 4, 5, 8, 8, 8, 5, 7, 7, 7, 7, 7, 7, 9, 7, 6, 6, 6,
6, 3, 3, 3, 3, 8, 8, 9, 9, 9, 9, 9, 6, 9, 8, 8, 8, 8, 7, 6, 6, 6, 6, 6, 6, 6, 6, 10, 5,
6, 6, 6, 6, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6};
{ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 3, 3, 5, 7, 6, 9, 8, 3, 3, 3, 6, 6, 3, 4, 3, 4, 6, 6, 6, 6,
6, 6, 6, 6, 6, 6, 3, 3, 6, 6, 6, 5, 10, 7, 7, 7, 8, 6, 5, 8, 8, 3, 3, 7, 5, 10,
8, 9, 6, 9, 7, 6, 5, 8, 7, 9, 6, 7, 7, 3, 4, 3, 6, 5, 6, 6, 6, 5, 6, 6, 4, 6,
6, 2, 2, 5, 2, 10, 6, 6, 6, 6, 4, 5, 4, 6, 6, 8, 6, 6, 5, 4, 5, 4, 6, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 3, 3, 6, 6, 6, 6, 5, 5, 6, 9, 4, 5, 6, 4, 9, 6, 5, 6, 4, 4, 6, 6,
7, 3, 2, 4, 4, 5, 8, 8, 8, 5, 7, 7, 7, 7, 7, 7, 9, 7, 6, 6, 6, 6, 3, 3, 3, 3,
8, 8, 9, 9, 9, 9, 9, 6, 9, 8, 8, 8, 8, 7, 6, 6, 6, 6, 6, 6, 6, 6, 10, 5, 6, 6,
6, 6, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6 };
// Character widths
const cvf::uint CVF_FIXED_ATLAS_FONT_STANDARD_CHARACTER_WIDTHS[] =
{11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 3, 3, 4, 7, 5, 8, 7, 2, 3, 2, 7, 6, 2, 3, 1, 6, 5, 3, 6, 5, 5, 5, 5, 5, 5, 5,
1, 2, 4, 4, 4, 4, 8, 9, 5, 6, 6, 4, 4, 6, 6, 3, 3, 7, 4, 8, 6, 7, 4, 7, 6, 5, 5, 6, 9,
11, 8, 9, 5, 2, 6, 2, 6, 5, 2, 5, 5, 4, 5, 5, 4, 6, 5, 3, 3, 5, 1, 9, 5, 5, 5, 5, 3, 5,
3, 5, 7, 9, 5, 7, 5, 3, 1, 3, 4, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 4, 4, 6, 5, 1, 5, 3, 7, 3, 5, 4, 3,
7, 6, 3, 6, 4, 3, 2, 5, 5, 1, 2, 2, 3, 5, 8, 8, 8, 4, 9, 9, 9, 9, 9, 9, 9, 6, 4, 4, 4,
4, 3, 3, 4, 3, 7, 6, 7, 7, 7, 7, 7, 5, 7, 6, 6, 6, 6, 9, 4, 5, 5, 5, 5, 5, 5, 5, 9, 4,
5, 5, 5, 5, 2, 2, 4, 3, 5, 5, 5, 5, 5, 5, 5, 7, 5, 5, 5, 5, 5, 7, 5, 7};
{ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 3, 3, 4, 7, 5, 8, 7, 2, 3, 2, 7, 6, 2, 3, 1, 6, 5, 3, 6, 5,
5, 5, 5, 5, 5, 5, 1, 2, 4, 4, 4, 4, 8, 9, 5, 6, 6, 4, 4, 6, 6, 3, 3, 7, 4, 8,
6, 7, 4, 7, 6, 5, 5, 6, 9, 11, 8, 9, 5, 2, 6, 2, 6, 5, 2, 5, 5, 4, 5, 5, 4, 6,
5, 3, 3, 5, 1, 9, 5, 5, 5, 5, 3, 5, 3, 5, 7, 9, 5, 7, 5, 3, 1, 3, 4, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 3, 3, 4, 4, 6, 5, 1, 5, 3, 7, 3, 5, 4, 3, 7, 6, 3, 6, 4, 3, 2, 5,
5, 1, 2, 2, 3, 5, 8, 8, 8, 4, 9, 9, 9, 9, 9, 9, 9, 6, 4, 4, 4, 4, 3, 3, 4, 3,
7, 6, 7, 7, 7, 7, 7, 5, 7, 6, 6, 6, 6, 9, 4, 5, 5, 5, 5, 5, 5, 5, 9, 4, 5, 5,
5, 5, 2, 2, 4, 3, 5, 5, 5, 5, 5, 5, 5, 7, 5, 5, 5, 5, 5, 7, 5, 7 };
// Character heights
const cvf::uint CVF_FIXED_ATLAS_FONT_STANDARD_CHARACTER_HEIGHTS[] =
{11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 3, 8, 3, 8, 9, 8, 8, 3, 10, 10, 5, 6, 3, 1, 2, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
6, 8, 5, 3, 5, 8, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 10, 8, 8, 8, 8, 8, 8, 10, 8, 8, 8, 8, 8,
8, 8, 8, 8, 10, 8, 10, 5, 1, 2, 6, 8, 6, 8, 6, 8, 9, 8, 8, 11, 8, 8, 6, 6, 6, 9, 9, 6, 6,
8, 6, 6, 6, 6, 9, 6, 10, 11, 10, 4, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 8, 8, 8, 5, 8, 11, 8, 1, 8, 4, 4, 3, 1,
8, 1, 3, 7, 5, 5, 2, 9, 9, 2, 3, 5, 4, 4, 8, 8, 8, 8, 11, 11, 11, 12, 10, 10, 8, 11, 11, 11, 11,
10, 11, 11, 11, 10, 8, 12, 11, 11, 11, 12, 10, 5, 10, 11, 11, 11, 10, 11, 8, 8, 9, 9, 9, 10, 8, 10, 6, 9,
9, 9, 9, 8, 9, 9, 9, 8, 8, 10, 9, 9, 9, 10, 8, 5, 6, 9, 9, 9, 8, 12, 11, 11};
{ 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 11, 11, 3, 8, 3, 8, 9, 8, 8, 3, 10, 10, 5, 6, 3, 1, 2, 8, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, 6, 8, 5, 3, 5, 8, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 10, 8, 8, 8,
8, 8, 8, 10, 8, 8, 8, 8, 8, 8, 8, 8, 8, 10, 8, 10, 5, 1, 2, 6, 8, 6, 8, 6, 8, 9,
8, 8, 11, 8, 8, 6, 6, 6, 9, 9, 6, 6, 8, 6, 6, 6, 6, 9, 6, 10, 11, 10, 4, 11, 11, 11,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11,
11, 11, 11, 11, 3, 8, 8, 8, 5, 8, 11, 8, 1, 8, 4, 4, 3, 1, 8, 1, 3, 7, 5, 5, 2, 9,
9, 2, 3, 5, 4, 4, 8, 8, 8, 8, 11, 11, 11, 12, 10, 10, 8, 11, 11, 11, 11, 10, 11, 11, 11, 10,
8, 12, 11, 11, 11, 12, 10, 5, 10, 11, 11, 11, 10, 11, 8, 8, 9, 9, 9, 10, 8, 10, 6, 9, 9, 9,
9, 8, 9, 9, 9, 8, 8, 10, 9, 9, 9, 10, 8, 5, 6, 9, 9, 9, 8, 12, 11, 11 };
// Texture image dimensions
const size_t CVF_FIXED_ATLAS_FONT_STANDARD_TEXTURE_IMAGE_WIDTH = 2816;
const size_t CVF_FIXED_ATLAS_FONT_STANDARD_TEXTURE_IMAGE_HEIGHT = 12;
// Texture image data
const char* CVF_FIXED_ATLAS_FONT_STANDARD_TEXTURE_IMAGE[] =
{"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
const char* CVF_FIXED_ATLAS_FONT_STANDARD_TEXTURE_IMAGE[] = {
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
@ -62958,51 +62982,55 @@ const short CVF_FIXED_ATLAS_FONT_LARGE_HORIZONTAL_BEARINGS_X[] =
// Horizontal bearings Y
const short CVF_FIXED_ATLAS_FONT_LARGE_HORIZONTAL_BEARINGS_Y[] =
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 15, 15, 15, 16, 15, 15, 15, 15, 15, 16, 12, 2, 6, 3, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
12, 12, 12, 10, 12, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, -2, 16, 12, 16, 12, 16, 12, 16, 12, 16, 16, 16, 16, 16, 12, 12, 12, 12, 12, 12, 12,
15, 12, 12, 12, 12, 12, 12, 15, 16, 15, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 15, 15, 13, 15, 16, 16, 16, 15, 15, 10, 8, 6,
15, 17, 15, 12, 15, 15, 16, 12, 16, 9, 0, 15, 15, 10, 15, 15, 15, 12, 19, 19, 19, 20, 19, 19, 15, 15, 19, 19, 19,
19, 19, 19, 19, 19, 15, 20, 19, 19, 19, 20, 19, 12, 16, 19, 19, 19, 19, 19, 15, 16, 16, 16, 16, 17, 16, 18, 12, 12,
16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 16, 16, 16, 17, 16, 12, 13, 16, 16, 16, 16, 16, 16, 16};
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 15, 15, 15, 16, 15, 15, 15, 15, 15, 16, 12, 2, 6, 3, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 12, 12, 12, 10, 12, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, -2, 16, 12, 16, 12, 16, 12, 16, 12,
16, 16, 16, 16, 16, 12, 12, 12, 12, 12, 12, 12, 15, 12, 12, 12, 12, 12, 12, 15, 16, 15, 10, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 11, 15, 15, 13, 15, 16, 16, 16, 15, 15, 10, 8, 6, 15, 17, 15, 12, 15, 15, 16, 12,
16, 9, 0, 15, 15, 10, 15, 15, 15, 12, 19, 19, 19, 20, 19, 19, 15, 15, 19, 19, 19, 19, 19, 19, 19, 19,
15, 20, 19, 19, 19, 20, 19, 12, 16, 19, 19, 19, 19, 19, 15, 16, 16, 16, 16, 17, 16, 18, 12, 12, 16, 16,
16, 16, 16, 16, 16, 16, 16, 17, 16, 16, 16, 17, 16, 12, 13, 16, 16, 16, 16, 16, 16, 16 };
// Horizontal advances
const cvf::uint CVF_FIXED_ATLAS_FONT_LARGE_HORIZONTAL_ADVANCES[] =
{21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 5, 6, 8, 14, 12, 17, 15, 4, 6, 6, 12, 12, 6, 7, 6, 8, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
6, 6, 12, 12, 12, 9, 18, 13, 13, 13, 14, 11, 10, 14, 15, 8, 6, 12, 10, 18, 15, 15, 12, 15, 13, 11, 10, 15, 12,
19, 11, 12, 11, 6, 8, 6, 11, 9, 12, 11, 12, 10, 12, 11, 7, 11, 12, 5, 5, 10, 5, 19, 12, 12, 12, 12, 8, 9,
7, 12, 11, 16, 11, 11, 9, 7, 12, 7, 12, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 5, 6, 12, 12, 12, 12, 12, 10, 12, 17, 7, 10, 12, 7,
17, 11, 9, 12, 7, 7, 12, 12, 14, 6, 4, 7, 7, 10, 15, 15, 15, 9, 13, 13, 13, 13, 13, 13, 18, 13, 11, 11, 11,
11, 8, 8, 8, 8, 14, 15, 15, 15, 15, 15, 15, 12, 15, 15, 15, 15, 15, 12, 12, 12, 11, 11, 11, 11, 11, 11, 18, 10,
11, 11, 11, 11, 5, 5, 5, 5, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 11, 12, 11};
{ 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 5, 6, 8, 14, 12, 17, 15, 4, 6, 6, 12, 12, 6, 7, 6, 8, 12, 12, 12, 12,
12, 12, 12, 12, 12, 12, 6, 6, 12, 12, 12, 9, 18, 13, 13, 13, 14, 11, 10, 14, 15, 8, 6, 12, 10, 18,
15, 15, 12, 15, 13, 11, 10, 15, 12, 19, 11, 12, 11, 6, 8, 6, 11, 9, 12, 11, 12, 10, 12, 11, 7, 11,
12, 5, 5, 10, 5, 19, 12, 12, 12, 12, 8, 9, 7, 12, 11, 16, 11, 11, 9, 7, 12, 7, 12, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 5, 6, 12, 12, 12, 12, 12, 10, 12, 17, 7, 10, 12, 7, 17, 11, 9, 12, 7, 7, 12, 12,
14, 6, 4, 7, 7, 10, 15, 15, 15, 9, 13, 13, 13, 13, 13, 13, 18, 13, 11, 11, 11, 11, 8, 8, 8, 8,
14, 15, 15, 15, 15, 15, 15, 12, 15, 15, 15, 15, 15, 12, 12, 12, 11, 11, 11, 11, 11, 11, 18, 10, 11, 11,
11, 11, 5, 5, 5, 5, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 11, 12, 11 };
// Character widths
const cvf::uint CVF_FIXED_ATLAS_FONT_LARGE_CHARACTER_WIDTHS[] =
{21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 5, 3, 7, 14, 10, 15, 14, 3, 6, 5, 10, 10, 3, 5, 3, 10, 10, 6, 10, 10, 11, 10, 10, 10, 10, 10,
3, 3, 10, 10, 10, 8, 16, 15, 10, 11, 11, 8, 8, 12, 11, 6, 6, 11, 8, 14, 11, 13, 9, 13, 11, 10, 10, 11, 14,
21, 13, 14, 9, 4, 10, 4, 11, 9, 4, 9, 10, 9, 10, 10, 7, 11, 9, 4, 5, 10, 2, 16, 9, 11, 10, 10, 7, 9,
7, 9, 12, 17, 10, 12, 9, 7, 2, 7, 10, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 5, 3, 8, 10, 12, 12, 2, 10, 6, 15, 5, 8, 10, 5,
15, 11, 7, 10, 7, 6, 4, 9, 11, 3, 4, 4, 5, 8, 14, 14, 16, 8, 15, 15, 15, 15, 15, 15, 18, 11, 8, 8, 8,
8, 6, 6, 7, 6, 13, 11, 13, 13, 13, 13, 13, 9, 13, 11, 11, 11, 11, 14, 9, 10, 9, 9, 9, 9, 9, 9, 17, 9,
10, 10, 10, 10, 4, 4, 7, 6, 11, 9, 11, 11, 11, 11, 11, 10, 11, 9, 9, 9, 9, 12, 10, 12};
{ 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 5, 3, 7, 14, 10, 15, 14, 3, 6, 5, 10, 10, 3, 5, 3, 10, 10, 6, 10, 10,
11, 10, 10, 10, 10, 10, 3, 3, 10, 10, 10, 8, 16, 15, 10, 11, 11, 8, 8, 12, 11, 6, 6, 11, 8, 14,
11, 13, 9, 13, 11, 10, 10, 11, 14, 21, 13, 14, 9, 4, 10, 4, 11, 9, 4, 9, 10, 9, 10, 10, 7, 11,
9, 4, 5, 10, 2, 16, 9, 11, 10, 10, 7, 9, 7, 9, 12, 17, 10, 12, 9, 7, 2, 7, 10, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 5, 3, 8, 10, 12, 12, 2, 10, 6, 15, 5, 8, 10, 5, 15, 11, 7, 10, 7, 6, 4, 9,
11, 3, 4, 4, 5, 8, 14, 14, 16, 8, 15, 15, 15, 15, 15, 15, 18, 11, 8, 8, 8, 8, 6, 6, 7, 6,
13, 11, 13, 13, 13, 13, 13, 9, 13, 11, 11, 11, 11, 14, 9, 10, 9, 9, 9, 9, 9, 9, 17, 9, 10, 10,
10, 10, 4, 4, 7, 6, 11, 9, 11, 11, 11, 11, 11, 10, 11, 9, 9, 9, 9, 12, 10, 12 };
// Character heights
const cvf::uint CVF_FIXED_ATLAS_FONT_LARGE_CHARACTER_HEIGHTS[] =
{21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 5, 15, 5, 15, 17, 15, 15, 5, 18, 18, 9, 10, 5, 2, 3, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
12, 15, 10, 6, 10, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 19, 15, 15, 15, 15, 15, 15, 19, 15, 15, 15, 15, 15,
15, 15, 15, 15, 18, 15, 18, 9, 2, 3, 12, 16, 12, 16, 12, 16, 17, 16, 16, 21, 16, 16, 12, 12, 12, 17, 17, 12, 12,
15, 12, 12, 12, 12, 17, 12, 18, 21, 18, 5, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 5, 15, 15, 15, 11, 15, 21, 16, 2, 15, 7, 9, 6, 2,
15, 2, 7, 12, 9, 9, 3, 17, 19, 3, 5, 9, 7, 9, 15, 15, 15, 16, 19, 19, 19, 20, 19, 19, 15, 20, 19, 19, 19,
19, 19, 19, 19, 19, 15, 20, 19, 19, 19, 20, 19, 9, 17, 19, 19, 19, 19, 19, 15, 16, 16, 16, 16, 17, 16, 18, 12, 17,
16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 16, 16, 16, 17, 16, 10, 14, 16, 16, 16, 16, 21, 21, 21};
{ 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 5, 15, 5, 15, 17, 15, 15, 5, 18, 18, 9, 10, 5, 2, 3, 15, 15, 15, 15, 15,
15, 15, 15, 15, 15, 15, 12, 15, 10, 6, 10, 15, 17, 15, 15, 15, 15, 15, 15, 15, 15, 15, 19, 15, 15, 15,
15, 15, 15, 19, 15, 15, 15, 15, 15, 15, 15, 15, 15, 18, 15, 18, 9, 2, 3, 12, 16, 12, 16, 12, 16, 17,
16, 16, 21, 16, 16, 12, 12, 12, 17, 17, 12, 12, 15, 12, 12, 12, 12, 17, 12, 18, 21, 18, 5, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 5, 15, 15, 15, 11, 15, 21, 16, 2, 15, 7, 9, 6, 2, 15, 2, 7, 12, 9, 9, 3, 17,
19, 3, 5, 9, 7, 9, 15, 15, 15, 16, 19, 19, 19, 20, 19, 19, 15, 20, 19, 19, 19, 19, 19, 19, 19, 19,
15, 20, 19, 19, 19, 20, 19, 9, 17, 19, 19, 19, 19, 19, 15, 16, 16, 16, 16, 17, 16, 18, 12, 17, 16, 16,
16, 16, 16, 16, 16, 16, 16, 17, 16, 16, 16, 17, 16, 10, 14, 16, 16, 16, 16, 21, 21, 21 };
// Texture image dimensions
const size_t CVF_FIXED_ATLAS_FONT_LARGE_TEXTURE_IMAGE_WIDTH = 5376;

View File

@ -805,7 +805,8 @@ int HexGridIntersectionTools::planeHexIntersectionMC( const cvf::Plane& plane
// clang-format on
static const int cubeIdxToTriangleIndices[256][16] = {{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
static const int cubeIdxToTriangleIndices[256][16] =
{ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
{ 0, 8, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
{ 0, 1, 9, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },
{ 1, 8, 3, 9, 8, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 },

View File

@ -41,8 +41,12 @@
TEST( cafHexIntersectionTools, basic )
{
std::vector<cvf::Vec3d> triangleVxes =
{{0.0, 0.5, 0.0}, {1.0, 0.5, 0.0}, {0.0, 1.0, 0.0}, {1.0, 0.5, 0.0}, {1.0, 0.8, 0.0}, {0.0, 1.0, 0.0}};
std::vector<cvf::Vec3d> triangleVxes = { { 0.0, 0.5, 0.0 },
{ 1.0, 0.5, 0.0 },
{ 0.0, 1.0, 0.0 },
{ 1.0, 0.5, 0.0 },
{ 1.0, 0.8, 0.0 },
{ 0.0, 1.0, 0.0 } };
std::vector<cvf::Vec3d> polygon2 = { { 0.5, 0.0, 2002.0 }, { 1.0, 0.0, 2000.0 }, { 0.5, 1.0, 2001.0 } };
const std::vector<int> cellFaceForEachTriangleEdge = { 1, 6, 4, 2, 3, 6 };