This script fetches a random article from Wikipedia in a selected language and displays its plain text content in the current Edit View of Glyphs 3.
이 스크립트는 선택한 언어의 위키피디아에서 무작위 문서를 가져와 Glyphs 3의 현재 편집 보기에 일반 텍스트 내용을 표시합니다.
sampleTest.mp4
- Fetches random articles from either the English or Korean Wikipedia.
- Ensures the fetched text is of a reasonable length (between 100 and 1000 characters).
- Automatically retries if it fails to fetch an article or if the article is too short.
- Provides a button to open the original Wikipedia article in your web browser(CC BY-SA 4.0).
- Download: Click the green "Code" button on the repository page and select "Download ZIP".
- Unzip: Unzip the downloaded file. You will get a folder named
Glyphs3-Random-Text-Generator-main. - Open Glyphs Scripts Folder: In Glyphs 3, go to
Script > Open Scripts Folder. - Copy Folder: Move the unzipped folder (
Glyphs3-Random-Text-Generator-main) into theScriptsfolder. - Reload Scripts: Go back to Glyphs and select
Script > Reload Scripts(or pressCmd+Opt+Shift+Y).
- Open a font file in Glyphs 3.
- Go to
Script > Glyphs3-Random-Text-Generator-main > Get Random Wikipedia Text. - A floating window will appear. Select your desired language, then click the Generate Sample Text button.
- The text will appear in your current Edit View. If no tab is open, a new one will be created.
- 영어 또는 한국어 위키피디아에서 무작위 문서를 가져옵니다.
- 가져온 텍스트가 적절한 길이(100자에서 1000자 사이)로 문장을 불러옵니다.
- 문서 가져오기에 실패하거나 글이 너무 짧을 경우 자동으로 재시도합니다.
- 원본 위키피디아 기사를 웹 브라우저에서 열 수 있는 버튼을 제공합니다(CC BY-SA 4.0).
- 다운로드: 저장소 페이지에서 녹색 "Code" 버튼을 클릭하고 "Download ZIP"을 선택합니다.
- 압축 해제: 다운로드한 파일의 압축을 해제합니다.
Glyphs3-Random-Text-Generator-main이라는 이름의 폴더가 생성됩니다. - Glyphs 스크립트 폴더 열기: Glyphs 3 상단 메뉴에서
스크립트 > 스크립트 폴더 열기를 선택합니다. - 폴더 복사: 압축 해제한 폴더(
Glyphs3-Random-Text-Generator-main)를Scripts폴더 안으로 이동합니다. - 스크립트 새로고침: Glyphs 앱으로 돌아와
스크립트 > 스크립트 새로고침을 선택합니다. (단축키:Cmd+Opt+Shift+Y)
- Glyphs 3에서 폰트 파일을 엽니다.
- 상단 메뉴에서
스크립트 > Glyphs3-Random-Text-Generator-main > Get Random Wikipedia Text를 선택합니다. - 작은 창이 나타나면, 원하는 언어를 선택한 뒤 샘플 텍스트 버튼 생성 버튼을 누르세요.
- 현재 편집 창에 텍스트가 나타납니다. 열려 있는 탭이 없다면 새 탭이 생성됩니다.
Supported Languages / 지원 언어
This script supports fetching random Wikipedia text in the following languages:
- English (en)
- 한국어 / Korean (ko)
- 日本語 / Japanese (ja)
- 中文 / Chinese (zh)
- Deutsch / German (de)
- Français / French (fr)
- Español / Spanish (es)
- Русский / Russian (ru)
- Tiếng Việt / Vietnamese (vi)
- العربية / Arabic (ar)
If you have any questions or encounter any issues, please let me know. Contact: node.to.type@gmail.com