> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/zh-tw/wen-yu-da/78-my-submission-was-rejected-by-the-journal-because-font-xyz-is-not-embedded-.-what-can-i-do.md).

# 期刊因為「Font XYZ is not embedded」而退回我的投稿。我可以怎麼做？

這最有可能是由於你專案中某些 PDF/EPS 圖形所帶來、令人聞之色變的「字型未嵌入」問題，因為建立它們的應用程式並未將字型嵌入字型中：請參見 [此連結的背景說明（特別是第 2 點）](http://tex.stackexchange.com/a/255097/226).

> 關於字型：這裡最可能的罪魁禍首是圖形，格式可能是 eps 或 pdf。如果你有一張含有文字的圖形，而其中也沒有包含該字型，那麼文件中也會缺少該字型。基本上你有兩個選擇：a) 在你用來建立圖形的任何工具中，找找看是否有選項可以將字型明確包含到匯出的圖形中。b) 不要將文字匯出為文字，而是匯出為曲線。如果沒有文字，就不可能缺少字型（雖然是個醜陋的解法）。

更多資訊：

* <https://machinelearning1.wordpress.com/2013/03/22/create-eps-file-from-matlab-figures-with-embedded-fonts/>
* <https://sites.google.com/site/xyzliwen/resource/embed_font_ieee_pdf_explore>

最好的解決方案是確保你的 PDF 圖像是在其原始應用程式中匯出時使用了 [嵌入所有字型選項](http://www.latex-community.org/forum/viewtopic.php?p=43537\&sid=bb0b021e3acac54742fecbcb91713fed#p43537)。例如，如果你是用 R 產生圖像，可以使用 [`embedFonts` 方法](https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/embedFonts.html) （也 [這裡](http://zevross.com/blog/2014/07/30/tired-of-using-helvetica-in-your-r-graphics-heres-how-to-use-the-fonts-you-like-2/) 和 [這裡](http://r.789695.n4.nabble.com/Automatic-way-to-embed-fonts-into-all-pdf-output-td4666773.html)).

或者，你可以讓 Overleaf 幫你對 PDF 進行後處理，不過這可能會使你的專案編譯時間變長一些。首先，在你的專案中新增一個名為 `latexmkrc` （不含副檔名）的檔案，然後將下列這一行貼到該檔案中：

```
$pdflatex = 'pdflatex %O %S; ps2pdf14 -dPDFSETTINGS=/prepress %B.pdf %B-embed.pdf; mv %B-embed.pdf %B.pdf';
```

你可能需要在你的 `.tex` 檔案中做一些小變更，以觸發重新編譯並讓後處理發生。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/zh-tw/wen-yu-da/78-my-submission-was-rejected-by-the-journal-because-font-xyz-is-not-embedded-.-what-can-i-do.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
