Index: trunk/src/conf_core.h
===================================================================
--- trunk/src/conf_core.h (revision 19556)
+++ trunk/src/conf_core.h (revision 19557)
@@ -152,6 +152,7 @@
CFT_COORD min_drill;
CFT_COORD min_ring;
CFT_INTEGER text_scale; /* text scaling in % */
+ CFT_COORD text_thickness; /* override stroke font text thickness */
CFT_INTEGER text_font_id;
CFT_REAL poly_isle_area; /* polygon min area */
CFT_STRING fab_author; /* Full name of author for FAB drawings */
Index: trunk/src/obj_subc.c
===================================================================
--- trunk/src/obj_subc.c (revision 19556)
+++ trunk/src/obj_subc.c (revision 19557)
@@ -552,7 +552,7 @@
if (dst_top_silk == NULL)
dst_top_silk = pcb_layer_new_bound(sc->data, PCB_LYT_TOP | PCB_LYT_SILK, "top-silk", NULL);
if (dst_top_silk != NULL)
- pcb_text_new(dst_top_silk, pcb_font(PCB, 0, 0), buffer->X, buffer->Y, 0, 100, "%a.parent.refdes%", pcb_flag_make(PCB_FLAG_DYNTEXT | PCB_FLAG_FLOATER));
+ pcb_text_new(dst_top_silk, pcb_font(PCB, 0, 0), buffer->X, buffer->Y, 0, 100, 0, "%a.parent.refdes%", pcb_flag_make(PCB_FLAG_DYNTEXT | PCB_FLAG_FLOATER));
else
pcb_message(PCB_MSG_ERROR, "Error: can't create top silk layer in subc for placing the refdes\n");
}
Index: trunk/src/obj_text.c
===================================================================
--- trunk/src/obj_text.c (revision 19556)
+++ trunk/src/obj_text.c (revision 19557)
@@ -82,7 +82,7 @@
/*** utility ***/
/* creates a new text on a layer */
-pcb_text_t *pcb_text_new(pcb_layer_t *Layer, pcb_font_t *PCBFont, pcb_coord_t X, pcb_coord_t Y, unsigned Direction, int Scale, const char *TextString, pcb_flag_t Flags)
+pcb_text_t *pcb_text_new(pcb_layer_t *Layer, pcb_font_t *PCBFont, pcb_coord_t X, pcb_coord_t Y, unsigned Direction, int Scale, pcb_coord_t thickness, const char *TextString, pcb_flag_t Flags)
{
pcb_text_t *text;
@@ -101,6 +101,7 @@
text->Direction = Direction;
text->Flags = Flags;
text->Scale = Scale;
+ text->thickness = thickness;
text->TextString = pcb_strdup(TextString);
text->fid = PCBFont->id;
text->ID = pcb_create_ID_get();
@@ -120,7 +121,7 @@
pcb_text_t *pcb_text_dup(pcb_layer_t *dst, pcb_text_t *src)
{
- pcb_text_t *t = pcb_text_new(dst, pcb_font(PCB, src->fid, 1), src->X, src->Y, src->Direction, src->Scale, src->TextString, src->Flags);
+ pcb_text_t *t = pcb_text_new(dst, pcb_font(PCB, src->fid, 1), src->X, src->Y, src->Direction, src->Scale, src->thickness, src->TextString, src->Flags);
pcb_text_copy_meta(t, src);
return t;
}
@@ -127,7 +128,7 @@
pcb_text_t *pcb_text_dup_at(pcb_layer_t *dst, pcb_text_t *src, pcb_coord_t dx, pcb_coord_t dy)
{
- pcb_text_t *t = pcb_text_new(dst, pcb_font(PCB, src->fid, 1), src->X+dx, src->Y+dy, src->Direction, src->Scale, src->TextString, src->Flags);
+ pcb_text_t *t = pcb_text_new(dst, pcb_font(PCB, src->fid, 1), src->X+dx, src->Y+dy, src->Direction, src->Scale, src->thickness, src->TextString, src->Flags);
pcb_text_copy_meta(t, src);
return t;
}
@@ -380,7 +381,7 @@
void *pcb_textop_add_to_buffer(pcb_opctx_t *ctx, pcb_layer_t *Layer, pcb_text_t *Text)
{
pcb_layer_t *layer = &ctx->buffer.dst->Layer[pcb_layer_id(ctx->buffer.src, Layer)];
- pcb_text_t *t = pcb_text_new(layer, pcb_font(PCB, Text->fid, 1), Text->X, Text->Y, Text->Direction, Text->Scale, Text->TextString, pcb_flag_mask(Text->Flags, ctx->buffer.extraflg));
+ pcb_text_t *t = pcb_text_new(layer, pcb_font(PCB, Text->fid, 1), Text->X, Text->Y, Text->Direction, Text->Scale, Text->thickness, Text->TextString, pcb_flag_mask(Text->Flags, ctx->buffer.extraflg));
pcb_text_copy_meta(t, Text);
return t;
@@ -519,7 +520,7 @@
pcb_text_t *text;
text = pcb_text_new(Layer, pcb_font(PCB, Text->fid, 1), Text->X + ctx->copy.DeltaX,
- Text->Y + ctx->copy.DeltaY, Text->Direction, Text->Scale, Text->TextString, pcb_flag_mask(Text->Flags, PCB_FLAG_FOUND));
+ Text->Y + ctx->copy.DeltaY, Text->Direction, Text->Scale, Text->thickness, Text->TextString, pcb_flag_mask(Text->Flags, PCB_FLAG_FOUND));
pcb_text_copy_meta(text, Text);
pcb_text_invalidate_draw(Layer, text);
pcb_undo_add_obj_to_create(PCB_OBJ_TEXT, Layer, text, text);
Index: trunk/src/obj_text.h
===================================================================
--- trunk/src/obj_text.h (revision 19556)
+++ trunk/src/obj_text.h (revision 19557)
@@ -56,7 +56,7 @@
pcb_text_t *pcb_text_alloc(pcb_layer_t * layer);
void pcb_text_free(pcb_text_t * data);
-pcb_text_t *pcb_text_new(pcb_layer_t *Layer, pcb_font_t *PCBFont, pcb_coord_t X, pcb_coord_t Y, unsigned Direction, int Scale, const char *TextString, pcb_flag_t Flags);
+pcb_text_t *pcb_text_new(pcb_layer_t *Layer, pcb_font_t *PCBFont, pcb_coord_t X, pcb_coord_t Y, unsigned Direction, int Scale, pcb_coord_t thickness, const char *TextString, pcb_flag_t Flags);
pcb_text_t *pcb_text_dup(pcb_layer_t *dst, pcb_text_t *src);
pcb_text_t *pcb_text_dup_at(pcb_layer_t *dst, pcb_text_t *src, pcb_coord_t dx, pcb_coord_t dy);
void *pcb_text_destroy(pcb_layer_t *Layer, pcb_text_t *Text);
Index: trunk/src/object_act.c
===================================================================
--- trunk/src/object_act.c (revision 19556)
+++ trunk/src/object_act.c (revision 19557)
@@ -1039,7 +1039,7 @@
return 1;
}
- t = pcb_text_new(ly, pcb_font(PCB, fid, 1), x, y, dir, scale, txt, pcb_no_flags());
+ t = pcb_text_new(ly, pcb_font(PCB, fid, 1), x, y, dir, scale, 0, txt, pcb_no_flags());
res->type = FGW_LONG;
res->val.nat_long = (t == NULL ? -1 : t->ID);
return 0;
Index: trunk/src/pcb-conf.lht
===================================================================
--- trunk/src/pcb-conf.lht (revision 19556)
+++ trunk/src/pcb-conf.lht (revision 19557)
@@ -123,6 +123,7 @@
# alignment_distance = 0
text_scale = 100
+ text_thickness = 0
text_font_id = 0
# poly_isle_area = 0
# background_image = {}
Index: trunk/src/route_style.c
===================================================================
--- trunk/src/route_style.c (revision 19556)
+++ trunk/src/route_style.c (revision 19557)
@@ -164,6 +164,7 @@
void pcb_use_route_style(pcb_route_style_t * rst)
{
conf_set_design("design/line_thickness", "%$mS", rst->Thick);
+ conf_set_design("design/text_thickness", "%$mS", rst->textt);
conf_set_design("design/via_thickness", "%$mS", rst->Diameter);
conf_set_design("design/via_drilling_hole", "%$mS", rst->Hole);
conf_set_design("design/clearance", "%$mS", rst->Clearance);
Index: trunk/src/tool_text.c
===================================================================
--- trunk/src/tool_text.c (revision 19556)
+++ trunk/src/tool_text.c (revision 19557)
@@ -58,7 +58,7 @@
if (pcb_layer_flags(PCB, INDEXOFCURRENT) & PCB_LYT_BOTTOM)
flag |= PCB_FLAG_ONSOLDER;
if ((text = pcb_text_new(pcb_loose_subc_layer(PCB, CURRENT), pcb_font(PCB, conf_core.design.text_font_id, 1), pcb_tool_note.X,
- pcb_tool_note.Y, 0, conf_core.design.text_scale, string, pcb_flag_make(flag))) != NULL) {
+ pcb_tool_note.Y, 0, conf_core.design.text_scale, conf_core.design.text_thickness, string, pcb_flag_make(flag))) != NULL) {
pcb_undo_add_obj_to_create(PCB_OBJ_TEXT, CURRENT, text, text);
pcb_undo_inc_serial();
pcb_text_invalidate_draw(CURRENT, text);
@@ -82,6 +82,7 @@
text.Direction = 0;
text.Flags = pcb_flag_make(flag);
text.Scale = conf_core.design.text_scale;
+ text.thickness = conf_core.design.text_thickness;
text.TextString = "A";
text.fid = conf_core.design.text_font_id;
text.ID = 0;
Index: trunk/src_plugins/export_openems/mesh.c
===================================================================
--- trunk/src_plugins/export_openems/mesh.c (revision 19556)
+++ trunk/src_plugins/export_openems/mesh.c (revision 19557)
@@ -443,9 +443,9 @@
{
aux -= PCB_MM_TO_COORD(0.6);
if (dir == PCB_MESH_HORIZONTAL)
- pcb_text_new(mesh->ui_layer_xy, pcb_font(PCB, 0, 0), aux, 0, 1, 75, label, pcb_no_flags());
+ pcb_text_new(mesh->ui_layer_xy, pcb_font(PCB, 0, 0), aux, 0, 1, 75, 0, label, pcb_no_flags());
else
- pcb_text_new(mesh->ui_layer_xy, pcb_font(PCB, 0, 0), 0, aux, 0, 75, label, pcb_no_flags());
+ pcb_text_new(mesh->ui_layer_xy, pcb_font(PCB, 0, 0), 0, aux, 0, 75, 0, label, pcb_no_flags());
}
@@ -499,7 +499,7 @@
if (grp->ltype & PCB_LYT_COPPER) {
y2 = y + mesh->def_copper_thick * mag / 2;
pcb_line_new(mesh->ui_layer_z, xr, y2, xr+PCB_MM_TO_COORD(2), y2, cpen, 0, pcb_no_flags());
- pcb_text_new(mesh->ui_layer_z, pcb_font(PCB, 0, 0), xr+PCB_MM_TO_COORD(3), y2 - PCB_MM_TO_COORD(1), 0, 100, grp->name, pcb_no_flags());
+ pcb_text_new(mesh->ui_layer_z, pcb_font(PCB, 0, 0), xr+PCB_MM_TO_COORD(3), y2 - PCB_MM_TO_COORD(1), 0, 100, 0, grp->name, pcb_no_flags());
y += mesh->def_copper_thick * mag;
}
else if (grp->ltype & PCB_LYT_SUBSTRATE) {
Index: trunk/src_plugins/fontmode/fontmode.c
===================================================================
--- trunk/src_plugins/fontmode/fontmode.c (revision 19556)
+++ trunk/src_plugins/fontmode/fontmode.c (revision 19557)
@@ -169,10 +169,10 @@
if ((s > 32) && (s < 127)) {
sprintf(txt, "%c", s);
- pcb_text_new(lsilk, pcb_font(PCB, 0, 0), ox+CELL_SIZE-CELL_SIZE/3, oy+CELL_SIZE-CELL_SIZE/3, 0, 50, txt, pcb_no_flags());
+ pcb_text_new(lsilk, pcb_font(PCB, 0, 0), ox+CELL_SIZE-CELL_SIZE/3, oy+CELL_SIZE-CELL_SIZE/3, 0, 50, 0, txt, pcb_no_flags());
}
sprintf(txt, "%d", s);
- pcb_text_new(lsilk, pcb_font(PCB, 0, 0), ox+CELL_SIZE/20, oy+CELL_SIZE-CELL_SIZE/3, 0, 50, txt, pcb_no_flags());
+ pcb_text_new(lsilk, pcb_font(PCB, 0, 0), ox+CELL_SIZE/20, oy+CELL_SIZE-CELL_SIZE/3, 0, 50, 0, txt, pcb_no_flags());
for (l = 0; l < symbol->LineN; l++) {
pcb_line_new_merge(lfont,
Index: trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/create.c
===================================================================
--- trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/create.c (revision 19556)
+++ trunk/src_plugins/gpmi/pcb-gpmi/gpmi_plugin/gpmi_pkg/layout/create.c (revision 19557)
@@ -141,7 +141,7 @@
if (layer == NULL)
return NULL;
- res = pcb_text_new(layer, pcb_font(PCB, 0, 1), x, y, direction, scale, pcb_strdup(str), get_flags(flags));
+ res = pcb_text_new(layer, pcb_font(PCB, 0, 1), x, y, direction, scale, 0, pcb_strdup(str), get_flags(flags));
return search_persist_created(search_id, layer_id, res, OM_ARC);
}
Index: trunk/src_plugins/hid_lesstif/main.c
===================================================================
--- trunk/src_plugins/hid_lesstif/main.c (revision 19556)
+++ trunk/src_plugins/hid_lesstif/main.c (revision 19557)
@@ -2405,7 +2405,7 @@
buf = pcb_strdup_printf("%m+%.2mS %s", UUNIT, conf_core.design.clearance, s45);
break;
case PCB_MODE_TEXT:
- buf = pcb_strdup_printf("%d %%", conf_core.design.text_scale);
+ buf = pcb_strdup_printf("%d %% %m+%.2mS", conf_core.design.text_scale, UUNIT, conf_core.design.text_thickness);
break;
case PCB_MODE_MOVE:
case PCB_MODE_COPY:
Index: trunk/src_plugins/io_autotrax/read.c
===================================================================
--- trunk/src_plugins/io_autotrax/read.c (revision 19556)
+++ trunk/src_plugins/io_autotrax/read.c (revision 19557)
@@ -221,7 +221,7 @@
if (lyt & PCB_LYT_BOTTOM) Flags = pcb_flag_make(PCB_FLAG_ONSOLDER);
else Flags = pcb_flag_make(0);
- if (pcb_text_new(ly, pcb_font(st->pcb, 0, 1), X, Y, direction, scaling, t, Flags) != 0)
+ if (pcb_text_new(ly, pcb_font(st->pcb, 0, 1), X, Y, direction, scaling, 0, t, Flags) != 0)
return 1;
return -1;
Index: trunk/src_plugins/io_eagle/read.c
===================================================================
--- trunk/src_plugins/io_eagle/read.c (revision 19556)
+++ trunk/src_plugins/io_eagle/read.c (revision 19557)
@@ -577,7 +577,7 @@
}
}
- pcb_text_new(ly, pcb_font(st->pcb, 0, 1), X, Y, text_direction, text_scaling, text_val, text_flags);
+ pcb_text_new(ly, pcb_font(st->pcb, 0, 1), X, Y, text_direction, text_scaling, 0, text_val, text_flags);
return 0;
}
Index: trunk/src_plugins/io_kicad/read.c
===================================================================
--- trunk/src_plugins/io_kicad/read.c (revision 19556)
+++ trunk/src_plugins/io_kicad/read.c (revision 19557)
@@ -440,7 +440,7 @@
}
}
- pcb_text_new(&st->pcb->Data->Layer[PCBLayer], pcb_font(st->pcb, 0, 1), X, Y, direction, scaling, text, Flags);
+ pcb_text_new(&st->pcb->Data->Layer[PCBLayer], pcb_font(st->pcb, 0, 1), X, Y, direction, scaling, 0, text, Flags);
return 0; /* create new font */
}
return kicad_error(subtree, "failed to create gr_text element");
Index: trunk/src_plugins/io_pcb/parse_y.c
===================================================================
--- trunk/src_plugins/io_pcb/parse_y.c (revision 19556)
+++ trunk/src_plugins/io_pcb/parse_y.c (revision 19557)
@@ -2339,7 +2339,7 @@
#line 1099 "parse_y.y" /* yacc.c:1646 */
{
/* use a default scale of 100% */
- pcb_text_new(Layer,yyFont,OU ((yyvsp[-5].measure)), OU ((yyvsp[-4].measure)), (yyvsp[-3].number), 100, (yyvsp[-2].string), pcb_flag_old((yyvsp[-1].integer)));
+ pcb_text_new(Layer,yyFont,OU ((yyvsp[-5].measure)), OU ((yyvsp[-4].measure)), (yyvsp[-3].number), 100, 0, (yyvsp[-2].string), pcb_flag_old((yyvsp[-1].integer)));
free ((yyvsp[-2].string));
}
#line 2346 "parse_y.c" /* yacc.c:1646 */
@@ -2353,11 +2353,11 @@
pcb_layer_t *lay = &yyData->Layer[yyData->LayerN +
(((yyvsp[-1].integer) & PCB_FLAG_ONSOLDER) ? PCB_SOLDER_SIDE : PCB_COMPONENT_SIDE) - 2];
- pcb_text_new(lay ,yyFont, OU ((yyvsp[-6].measure)), OU ((yyvsp[-5].measure)), (yyvsp[-4].number), (yyvsp[-3].number), (yyvsp[-2].string),
+ pcb_text_new(lay ,yyFont, OU ((yyvsp[-6].measure)), OU ((yyvsp[-5].measure)), (yyvsp[-4].number), (yyvsp[-3].number), 0, (yyvsp[-2].string),
pcb_flag_old((yyvsp[-1].integer)));
}
else
- pcb_text_new(Layer, yyFont, OU ((yyvsp[-6].measure)), OU ((yyvsp[-5].measure)), (yyvsp[-4].number), (yyvsp[-3].number), (yyvsp[-2].string),
+ pcb_text_new(Layer, yyFont, OU ((yyvsp[-6].measure)), OU ((yyvsp[-5].measure)), (yyvsp[-4].number), (yyvsp[-3].number), 0, (yyvsp[-2].string),
pcb_flag_old((yyvsp[-1].integer)));
free ((yyvsp[-2].string));
}
@@ -2379,10 +2379,10 @@
pcb_layer_t *lay = &yyData->Layer[yyData->LayerN +
(((yyvsp[-1].flagtype).f & PCB_FLAG_ONSOLDER) ? PCB_SOLDER_SIDE : PCB_COMPONENT_SIDE) - 2];
- pcb_text_new(lay, yyFont, NU ((yyvsp[-6].measure)), NU ((yyvsp[-5].measure)), (yyvsp[-4].number), (yyvsp[-3].number), (yyvsp[-2].string), (yyvsp[-1].flagtype));
+ pcb_text_new(lay, yyFont, NU ((yyvsp[-6].measure)), NU ((yyvsp[-5].measure)), (yyvsp[-4].number), (yyvsp[-3].number), 0, (yyvsp[-2].string), (yyvsp[-1].flagtype));
}
else
- pcb_text_new(Layer, yyFont, NU ((yyvsp[-6].measure)), NU ((yyvsp[-5].measure)), (yyvsp[-4].number), (yyvsp[-3].number), (yyvsp[-2].string), (yyvsp[-1].flagtype));
+ pcb_text_new(Layer, yyFont, NU ((yyvsp[-6].measure)), NU ((yyvsp[-5].measure)), (yyvsp[-4].number), (yyvsp[-3].number), 0, (yyvsp[-2].string), (yyvsp[-1].flagtype));
free ((yyvsp[-2].string));
}
#line 2389 "parse_y.c" /* yacc.c:1646 */
Index: trunk/src_plugins/io_pcb/parse_y.y
===================================================================
--- trunk/src_plugins/io_pcb/parse_y.y (revision 19556)
+++ trunk/src_plugins/io_pcb/parse_y.y (revision 19557)
@@ -1098,7 +1098,7 @@
: T_TEXT '(' measure measure number STRING INTEGER ')'
{
/* use a default scale of 100% */
- pcb_text_new(Layer,yyFont,OU ($3), OU ($4), $5, 100, $6, pcb_flag_old($7));
+ pcb_text_new(Layer,yyFont,OU ($3), OU ($4), $5, 100, 0, $6, pcb_flag_old($7));
free ($6);
}
;
@@ -1112,11 +1112,11 @@
pcb_layer_t *lay = &yyData->Layer[yyData->LayerN +
(($8 & PCB_FLAG_ONSOLDER) ? PCB_SOLDER_SIDE : PCB_COMPONENT_SIDE) - 2];
- pcb_text_new(lay ,yyFont, OU ($3), OU ($4), $5, $6, $7,
+ pcb_text_new(lay ,yyFont, OU ($3), OU ($4), $5, $6, 0, $7,
pcb_flag_old($8));
}
else
- pcb_text_new(Layer, yyFont, OU ($3), OU ($4), $5, $6, $7,
+ pcb_text_new(Layer, yyFont, OU ($3), OU ($4), $5, $6, 0, $7,
pcb_flag_old($8));
free ($7);
}
@@ -1137,10 +1137,10 @@
pcb_layer_t *lay = &yyData->Layer[yyData->LayerN +
(($8.f & PCB_FLAG_ONSOLDER) ? PCB_SOLDER_SIDE : PCB_COMPONENT_SIDE) - 2];
- pcb_text_new(lay, yyFont, NU ($3), NU ($4), $5, $6, $7, $8);
+ pcb_text_new(lay, yyFont, NU ($3), NU ($4), $5, $6, 0, $7, $8);
}
else
- pcb_text_new(Layer, yyFont, NU ($3), NU ($4), $5, $6, $7, $8);
+ pcb_text_new(Layer, yyFont, NU ($3), NU ($4), $5, $6, 0, $7, $8);
free ($7);
}
;
Index: trunk/src_plugins/lib_compat_help/subc_help.c
===================================================================
--- trunk/src_plugins/lib_compat_help/subc_help.c (revision 19556)
+++ trunk/src_plugins/lib_compat_help/subc_help.c (revision 19557)
@@ -31,7 +31,7 @@
pcb_layer_type_t side = bottom ? PCB_LYT_BOTTOM : PCB_LYT_TOP;
pcb_layer_t *ly = pcb_subc_get_layer(sc, side | PCB_LYT_SILK, 0, pcb_true, "top-silk", pcb_false);
if (ly != NULL)
- return pcb_text_new(ly, pcb_font(PCB, 0, 0), x, y, direction, scale, pattern, pcb_flag_make(PCB_FLAG_DYNTEXT | PCB_FLAG_FLOATER | (bottom ? PCB_FLAG_ONSOLDER : 0)));
+ return pcb_text_new(ly, pcb_font(PCB, 0, 0), x, y, direction, scale, 0, pattern, pcb_flag_make(PCB_FLAG_DYNTEXT | PCB_FLAG_FLOATER | (bottom ? PCB_FLAG_ONSOLDER : 0)));
return 0;
}
Index: trunk/src_plugins/lib_gtk_common/bu_status_line.c
===================================================================
--- trunk/src_plugins/lib_gtk_common/bu_status_line.c (revision 19556)
+++ trunk/src_plugins/lib_gtk_common/bu_status_line.c (revision 19557)
@@ -71,7 +71,7 @@
"%s" /* line break */
"via=%mS (%mS) "
"clearance=%mS "
- "text=%i%% "
+ "text=%i%% %$mS "
"buffer=#%i"),
unit->allow, conf_core.editor.show_solder_side ? _("bottom") : _("top"),
PCB->Grid,
@@ -81,6 +81,7 @@
conf_core.design.via_thickness, conf_core.design.via_drilling_hole,
conf_core.design.clearance,
conf_core.design.text_scale,
+ conf_core.design.text_thickness,
conf_core.editor.buffer_number + 1);
}
Index: trunk/src_plugins/lib_gtk_common/dlg_propedit.c
===================================================================
--- trunk/src_plugins/lib_gtk_common/dlg_propedit.c (revision 19556)
+++ trunk/src_plugins/lib_gtk_common/dlg_propedit.c (revision 19557)
@@ -352,7 +352,7 @@
0.0, 90.0, PCB_MIL_TO_COORD(20), PCB_MIL_TO_COORD(40), pcb_flag_make(PCB_FLAG_CLEARLINE), pcb_false);
pcb_text_new(preview_pcb.Data->Layer + 0, pcb_font(PCB, 0, 1),
- PCB_MIL_TO_COORD(850), PCB_MIL_TO_COORD(1150), 0, 100, "Text", pcb_flag_make(PCB_FLAG_CLEARLINE));
+ PCB_MIL_TO_COORD(850), PCB_MIL_TO_COORD(1150), 0, 100, 0, "Text", pcb_flag_make(PCB_FLAG_CLEARLINE));
v = pcb_poly_new_from_rectangle(preview_pcb.Data->Layer + 0,
PCB_MIL_TO_COORD(10), PCB_MIL_TO_COORD(10),
Index: trunk/src_plugins/lib_gtk_hid/glue_conf.c
===================================================================
--- trunk/src_plugins/lib_gtk_hid/glue_conf.c (revision 19556)
+++ trunk/src_plugins/lib_gtk_hid/glue_conf.c (revision 19557)
@@ -100,6 +100,7 @@
init_conf_watch(&cbs_show_sside, "editor/show_solder_side", ghid_confchg_status_line);
init_conf_watch(&cbs_grid, "editor/grid", ghid_confchg_status_line);
init_conf_watch(&cbs_text_scale, "design/text_scale", ghid_confchg_status_line);
+ init_conf_watch(&cbs_text_scale, "design/text_thickness", ghid_confchg_status_line);
init_conf_watch(&cbs_fullscreen, "editor/fullscreen", ghid_confchg_fullscreen);
init_conf_watch(&cbs_grid_unit, "editor/grid_unit", ghid_confchg_grid_unit);