mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-27 01:21:53 +02:00
sch2fig/lib.c (lib_parse): zero2 seems to be text style, ignore
This commit is contained in:
parent
4d75a7f00e
commit
47707d700c
@ -620,10 +620,13 @@ bool lib_parse(struct lib_ctx *ctx, const char *line)
|
|||||||
*tilde = ' ';
|
*tilde = ' ';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
* zero2 seems to be the font style: 0 = normal, 1 = bold ?
|
||||||
|
*/
|
||||||
if (n == 12) {
|
if (n == 12) {
|
||||||
if (zero1 || zero2) {
|
if (zero1) {
|
||||||
fprintf(stderr, "%u: only understand 0 x x\n",
|
fprintf(stderr, "%u: only understand 0 x x\n"
|
||||||
ctx->lineno);
|
"\"%s\"\n", ctx->lineno, line);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
obj->u.text.style = decode_style(style);
|
obj->u.text.style = decode_style(style);
|
||||||
|
Loading…
Reference in New Issue
Block a user