Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install font error
#3
(01-03-2019, 07:19 PM)Josh Wrote: Hi Veronica,

On line 83 of BpodObject.m, the PC looks for the font in a list of system fonts. It expects it to be named either 'OCRASTD' or 'OCR A Std', which are the two system names we've encountered thus far - but it's possible that the font is named something else on your system.

At the MATLAB command line, if you type 

Code:
F = listfonts

you should see the list in alphabetical order. If you scroll up, is there something like OCRASTD' or 'OCR A Std'? If so, please reply with your PC's version and I'll include it with the next software release. For now, to get your copy running, add it to line 83. For instance, if your PC called it 'OCRA_STD', the line would read:

Code:
if (sum(strcmp(F, 'OCRAStd')) == 0) && (sum(strcmp(F, 'OCR A Std')) == 0) && (sum(strcmp(F, 'OCRA_STD')) == 0)

I hope this helps, and thanks in advance for the info!

-Josh

Hi Josh,
I'm also experiencing this issue. 
Running r2 on windows 10, even after installing OCR A Std, running the listfonts function does not yield a list that includes OCR A Std. I've tried installing the font in two different locations
(1) the default folder: C:\Users\AppData\Local\Microsoft\Windows\Fonts
(2) and the system folder: C:\Windows\Fonts

Code:
C:\Windows\Fonts


Unfortunately, installing the font in either of these folders do not seem to register the font into the system fonts list
Code:
>> listfonts

ans =

 231×1 cell array

   {'Aharoni'                        }
   {'Aldhabi'                        }
   {'Andalus'                        }
   {'Angsana New'                    }
   {'AngsanaUPC'                     }
   {'Aparajita'                      }
   {'Arabic Typesetting'             }
   {'Arial'                          }
   {'Arial Black'                    }
   {'Arial Nova'                     }
   {'Arial Nova Cond'                }
   {'Arial Nova Cond Light'          }
   {'Arial Nova Light'               }
   {'AvantGarde'                     }
   {'Bahnschrift'                    }
   {'Batang'                         }
   {'BatangChe'                      }
   {'BIZ UDGothic'                   }
   {'BIZ UDMincho Medium'            }
   {'BIZ UDPGothic'                  }
   {'BIZ UDPMincho Medium'           }
   {'Bookman'                        }
   {'Browallia New'                  }
   {'BrowalliaUPC'                   }
   {'Calibri'                        }
   {'Calibri Light'                  }
   {'Cambria'                        }
   {'Cambria Math'                   }
   {'Candara'                        }
   {'Candara Light'                  }
   {'Comic Sans MS'                  }
   {'Consolas'                       }
   {'Constantia'                     }
   {'Corbel'                         }
   {'Corbel Light'                   }
   {'Cordia New'                     }
   {'CordiaUPC'                      }
   {'Courier'                        }
   {'Courier New'                    }
   {'DaunPenh'                       }
   {'David'                          }
   {'DengXian'                       }
   {'DengXian Light'                 }
   {'DFKai-SB'                       }
   {'Dialog'                         }
   {'DialogInput'                    }
   {'DilleniaUPC'                    }
   {'DokChampa'                      }
   {'Dotum'                          }
   {'DotumChe'                       }
   {'Ebrima'                         }
   {'Estrangelo Edessa'              }
   {'EucrosiaUPC'                    }
   {'Euphemia'                       }
   {'FangSong'                       }
   {'Franklin Gothic Medium'         }
   {'FrankRuehl'                     }
   {'FreesiaUPC'                     }
   {'Gabriola'                       }
   {'Gadugi'                         }
   {'Gautami'                        }
   {'Georgia'                        }
   {'Georgia Pro'                    }
   {'Georgia Pro Black'              }
   {'Georgia Pro Cond'               }
   {'Georgia Pro Cond Black'         }
   {'Georgia Pro Cond Light'         }
   {'Georgia Pro Cond Semibold'      }
   {'Georgia Pro Light'              }
   {'Georgia Pro Semibold'           }
   {'Gill Sans Nova'                 }
   {'Gill Sans Nova Cond'            }
   {'Gill Sans Nova Cond Lt'         }
   {'Gill Sans Nova Cond Ultra Bold' }
   {'Gill Sans Nova Cond XBd'        }
   {'Gill Sans Nova Light'           }
   {'Gill Sans Nova Ultra Bold'      }
   {'Gisha'                          }
   {'Gulim'                          }
   {'GulimChe'                       }
   {'Gungsuh'                        }
   {'GungsuhChe'                     }
   {'Helvetica'                      }
   {'Helvetica-Narrow'               }
   {'Impact'                         }
   {'Ink Free'                       }
   {'IrisUPC'                        }
   {'Iskoola Pota'                   }
   {'JasmineUPC'                     }
   {'Javanese Text'                  }
   {'KaiTi'                          }
   {'Kalinga'                        }
   {'Kartika'                        }
   {'Khmer UI'                       }
   {'KodchiangUPC'                   }
   {'Kokila'                         }
   {'Lao UI'                         }
   {'Latha'                          }
   {'Leelawadee'                     }
   {'Leelawadee UI'                  }
   {'Leelawadee UI Semilight'        }
   {'Levenim MT'                     }
   {'LilyUPC'                        }
   {'Lucida Bright'                  }
   {'Lucida Console'                 }
   {'Lucida Sans'                    }
   {'Lucida Sans Typewriter'         }
   {'Lucida Sans Unicode'            }
   {'Malgun Gothic'                  }
   {'Malgun Gothic Semilight'        }
   {'Mangal'                         }
   {'Meiryo'                         }
   {'Meiryo UI'                      }
   {'Microsoft Himalaya'             }
   {'Microsoft JhengHei'             }
   {'Microsoft JhengHei Light'       }
   {'Microsoft JhengHei UI'          }
   {'Microsoft JhengHei UI Light'    }
   {'Microsoft New Tai Lue'          }
   {'Microsoft PhagsPa'              }
   {'Microsoft Sans Serif'           }
   {'Microsoft Tai Le'               }
   {'Microsoft Uighur'               }
   {'Microsoft YaHei'                }
   {'Microsoft YaHei Light'          }
   {'Microsoft YaHei UI'             }
   {'Microsoft YaHei UI Light'       }
   {'Microsoft Yi Baiti'             }
   {'MingLiU'                        }
   {'MingLiU-ExtB'                   }
   {'MingLiU_HKSCS'                  }
   {'MingLiU_HKSCS-ExtB'             }
   {'Miriam'                         }
   {'Miriam Fixed'                   }
   {'Mongolian Baiti'                }
   {'Monospaced'                     }
   {'MoolBoran'                      }
   {'MS Gothic'                      }
   {'MS Mincho'                      }
   {'MS PGothic'                     }
   {'MS PMincho'                     }
   {'MS UI Gothic'                   }
   {'MV Boli'                        }
   {'Myanmar Text'                   }
   {'Narkisim'                       }
   {'Neue Haas Grotesk Text Pro'     }
   {'Neue Haas Grotesk Text Pro Medi'}
   {'NewCenturySchoolBook'           }
   {'Nirmala UI'                     }
   {'Nirmala UI Semilight'           }
   {'NSimSun'                        }
   {'Nyala'                          }
   {'Palatino'                       }
   {'Palatino Linotype'              }
   {'Plantagenet Cherokee'           }
   {'PMingLiU'                       }
   {'PMingLiU-ExtB'                  }
   {'Raavi'                          }
   {'Rockwell Nova'                  }
   {'Rockwell Nova Cond'             }
   {'Rockwell Nova Cond Light'       }
   {'Rockwell Nova Extra Bold'       }
   {'Rockwell Nova Light'            }
   {'Rod'                            }
   {'Sakkal Majalla'                 }
   {'Sanskrit Text'                  }
   {'SansSerif'                      }
   {'Segoe Print'                    }
   {'Segoe Script'                   }
   {'Segoe UI'                       }
   {'Segoe UI Black'                 }
   {'Segoe UI Emoji'                 }
   {'Segoe UI Historic'              }
   {'Segoe UI Light'                 }
   {'Segoe UI Semibold'              }
   {'Segoe UI Semilight'             }
   {'Segoe UI Symbol'                }
   {'Serif'                          }
   {'Shonar Bangla'                  }
   {'Shruti'                         }
   {'SimHei'                         }
   {'Simplified Arabic'              }
   {'Simplified Arabic Fixed'        }
   {'SimSun'                         }
   {'SimSun-ExtB'                    }
   {'Sitka Banner'                   }
   {'Sitka Display'                  }
   {'Sitka Heading'                  }
   {'Sitka Small'                    }
   {'Sitka Subheading'               }
   {'Sitka Text'                     }
   {'Sylfaen'                        }
   {'Symbol'                         }
   {'Tahoma'                         }
   {'Times'                          }
   {'Times New Roman'                }
   {'Traditional Arabic'             }
   {'Trebuchet MS'                   }
   {'Tunga'                          }
   {'UD Digi Kyokasho N-B'           }
   {'UD Digi Kyokasho N-R'           }
   {'UD Digi Kyokasho NK-B'          }
   {'UD Digi Kyokasho NK-R'          }
   {'UD Digi Kyokasho NP-B'          }
   {'UD Digi Kyokasho NP-R'          }
   {'Urdu Typesetting'               }
   {'Utsaah'                         }
   {'Vani'                           }
   {'Verdana'                        }
   {'Verdana Pro'                    }
   {'Verdana Pro Black'              }
   {'Verdana Pro Cond'               }
   {'Verdana Pro Cond Black'         }
   {'Verdana Pro Cond Light'         }
   {'Verdana Pro Cond Semibold'      }
   {'Verdana Pro Light'              }
   {'Verdana Pro Semibold'           }
   {'Vijaya'                         }
   {'Vrinda'                         }
   {'Yu Gothic'                      }
   {'Yu Gothic Light'                }
   {'Yu Gothic Medium'               }
   {'Yu Gothic UI'                   }
   {'Yu Gothic UI Light'             }
   {'Yu Gothic UI Semibold'          }
   {'Yu Gothic UI Semilight'         }
   {'Yu Mincho'                      }
   {'Yu Mincho Demibold'             }
   {'Yu Mincho Light'                }
   {'ZapfChancery'                   }
   {'ZapfDingbats'                   }
Any solutions would be appreciated
Thank you

Richard
Reply


Messages In This Thread
Install font error - by veronica - 01-03-2019, 04:31 PM
RE: Install font error - by Josh - 01-03-2019, 07:19 PM
RE: Install font error - by Richard - 02-05-2019, 07:49 PM
RE: Install font error - by Richard - 02-06-2019, 08:02 PM

Forum Jump: