mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 20:51:33 +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 = ' ';
|
||||
}
|
||||
}
|
||||
/*
|
||||
* zero2 seems to be the font style: 0 = normal, 1 = bold ?
|
||||
*/
|
||||
if (n == 12) {
|
||||
if (zero1 || zero2) {
|
||||
fprintf(stderr, "%u: only understand 0 x x\n",
|
||||
ctx->lineno);
|
||||
if (zero1) {
|
||||
fprintf(stderr, "%u: only understand 0 x x\n"
|
||||
"\"%s\"\n", ctx->lineno, line);
|
||||
exit(1);
|
||||
}
|
||||
obj->u.text.style = decode_style(style);
|
||||
|
Loading…
Reference in New Issue
Block a user