More experiments with +100em bold
This commit is contained in:
parent
f2671d8f79
commit
a277ca06ef
7 changed files with 8 additions and 8 deletions
BIN
Fonts/ECAMFontBold100em.ttf
Normal file
BIN
Fonts/ECAMFontBold100em.ttf
Normal file
Binary file not shown.
|
@ -25,7 +25,7 @@ var canvas_IESI = {
|
|||
obj.group = obj.canvas.createGroup();
|
||||
|
||||
obj.font_mapper = func(family, weight) {
|
||||
return "ECAMFontRegular.ttf";
|
||||
return "ECAMFontBold100em.ttf";
|
||||
};
|
||||
|
||||
canvas.parsesvg(obj.group, svg, {"font-mapper": obj.font_mapper} );
|
||||
|
|
|
@ -25,7 +25,7 @@ var canvas_lowerECAM_base =
|
|||
me.canvas.addPlacement({"node": "uecam.screen2"});
|
||||
|
||||
me.font_mapper = func(family, weight) {
|
||||
return "ECAMFontRegular.ttf";
|
||||
return "ECAMFontBold100em.ttf";
|
||||
};
|
||||
|
||||
me.test = me.canvas.createGroup();
|
||||
|
|
|
@ -69,7 +69,7 @@ var myCockpit_switches = {
|
|||
var canvas_nd_base = {
|
||||
init: func(canvas_group, file = nil) {
|
||||
var font_mapper = func(family, weight) {
|
||||
return "ECAMFontRegular.ttf";
|
||||
return "ECAMFontBold100em.ttf";
|
||||
};
|
||||
|
||||
if (file != nil) {
|
||||
|
@ -264,7 +264,7 @@ var canvas_ND_2 = {
|
|||
var canvas_ND_1_test = {
|
||||
init: func(canvas_group, file) {
|
||||
var font_mapper = func(family, weight) {
|
||||
return "ECAMFontRegular.ttf";
|
||||
return "ECAMFontBold100em.ttf";
|
||||
};
|
||||
|
||||
canvas.parsesvg(canvas_group, file, {"font-mapper": font_mapper});
|
||||
|
@ -306,7 +306,7 @@ var canvas_ND_1_test = {
|
|||
var canvas_ND_2_test = {
|
||||
init: func(canvas_group, file) {
|
||||
var font_mapper = func(family, weight) {
|
||||
return "ECAMFontRegular.ttf";
|
||||
return "ECAMFontBold100em.ttf";
|
||||
};
|
||||
|
||||
canvas.parsesvg(canvas_group, file, {"font-mapper": font_mapper});
|
||||
|
|
|
@ -20,7 +20,7 @@ var RED = [1.0000,0.0000,0.0000];
|
|||
|
||||
canvas.NDStyles["Airbus"] = {
|
||||
font_mapper: func(family, weight) {
|
||||
return "ECAMFontRegular.ttf";
|
||||
return "ECAMFontBold100em.ttf";
|
||||
},
|
||||
|
||||
# where all the symbols are stored
|
||||
|
|
|
@ -100,7 +100,7 @@ var canvas_pfd = {
|
|||
obj.mismatch = obj.canvas.createGroup();
|
||||
|
||||
obj.font_mapper = func(family, weight) {
|
||||
return "ECAMFontRegular.ttf";
|
||||
return "ECAMFontBold100em.ttf";
|
||||
};
|
||||
|
||||
canvas.parsesvg(obj.group, svg, {"font-mapper": obj.font_mapper} );
|
||||
|
|
|
@ -48,7 +48,7 @@ var canvas_upperECAM = {
|
|||
obj.typeString = type;
|
||||
|
||||
obj.font_mapper = func(family, weight) {
|
||||
return "ECAMFontRegular.ttf";
|
||||
return "ECAMFontBold100em.ttf";
|
||||
};
|
||||
|
||||
canvas.parsesvg(obj.group, svg, {"font-mapper": obj.font_mapper} );
|
||||
|
|
Loading…
Add table
Reference in a new issue