Error: Font '' cannot be found
Context: You have just created a project and wish to open one of the files (to view or translate) but are confronted with an error message called:
“Font '' cannot be found.”.
Description: You do not have a chosen default front for the alphabet/front in which your language of choice is written. This disables memoQ's ability to open the files correctly.
Fix: Go to Tools/Options/Appearance and choose a default font for the concerned language.
Example: Below is an example of call stack that indicates the there is a missing default front:
TYPE:
System.ArgumentException
MESSAGE:
Font '' cannot be found.
SOURCE:
System.Drawing
CALL STACK:
at System.Drawing.FontFamily.CreateFontFamily(String name, FontCollection fontCollection)
at System.Drawing.FontFamily..ctor(String name)
at MemoQ.Translation.TextCompareCtrl.cleanRichTextBoxes()
at MemoQ.Translation.TextCompareCtrl.SimpleUpdate(String curr, String mem, String target)
at MemoQ.Translation.TranslationResultsControl.OnHitRowChosen(Object sender, EventArgs e)
at MemoQ.Translation.TranslationControl.doScanSegment()
at MemoQ.Translation.TranslationControl.doScanIfAuto()
at MemoQ.Translation.TranslationControl.onRowEnter(Int32 oldRowNum)
at MemoQ.Controls.GridContainer`2.ActivateRow(Int32 ix)
at MemoQ.Controls.GridContainer`2.set_DataBinder(IGridDataBinder`1 value)
at MemoQ.Translation.TranslationControl.OnDocumentAttached()
at MemoQ.ApplicationFramework.DocumentControl.set_Document(Document value)
at MemoQ.ApplicationFramework.WindowManager.OpenTab(Document document, Boolean activate)
at MemoQ.ApplicationFramework.WindowManager.OnShowDocument(Document document)
at MemoQ.Project.ProjectDocument.ShowTranslationDocument(ProjectTranslationDocumentInfo tdi, Boolean activate, Boolean refreshResources)
at MemoQ.Project.ProjectDocument.ShowTranslationDocument(ProjectTranslationDocumentInfo tdi)
at MemoQ.Project.TranslationProjectSettingsControl.handleOpenTranslationDocument()
at MemoQ.Project.TranslationProjectSettingsControl.gvTranslations_CellMouseDoubleClick(Object sender, DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridView.OnCellMouseDoubleClick(DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridView.OnMouseDoubleClick(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Comments
0 comments
Please sign in to leave a comment.