My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

u8glib-bdf2u8g.patch 865B

1234567891011121314151617181920212223242526272829303132
  1. 178c178
  2. < fprintf(out_fp, "%d", data_buf[i]);
  3. ---
  4. > fprintf(out_fp, "0x%02x", data_buf[i]);
  5. 180c180
  6. < fprintf(out_fp, "%3d", data_buf[i]);
  7. ---
  8. > fprintf(out_fp, "0x%02x", data_buf[i]);
  9. 487c487,488
  10. < int bdf_delta_x; /* DWIDTH arg 1 */
  11. ---
  12. > int bdf_delta_x_default = -1;
  13. > int bdf_delta_x = -1; /* DWIDTH arg 1 */
  14. 1097a1099,1114
  15. > else if ( strcmp(p_buf, "CHARS") == 0 )
  16. > {
  17. > if (bdf_delta_x < 0) {
  18. > bdf_delta_x = 0;
  19. > }
  20. > if (bdf_delta_x_default < 0) {
  21. > bdf_delta_x_default = bdf_delta_x;
  22. > }
  23. > }
  24. > else if ( strcmp(p_buf, "STARTCHAR") == 0 )
  25. > {
  26. > if (bdf_delta_x_default < 0) {
  27. > bdf_delta_x_default = 0;
  28. > }
  29. > bdf_delta_x = bdf_delta_x_default;
  30. > }
  31. 1293d1309
  32. < fprintf(out_fp, "#include \"u8g.h\"\n");