Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asian language support #30

Closed
lillianhorin opened this issue Nov 21, 2020 · 7 comments
Closed

Asian language support #30

lillianhorin opened this issue Nov 21, 2020 · 7 comments
Labels
question Further information is requested

Comments

@lillianhorin
Copy link

Describe the bug
The padding does not properly align the tables when using an Asian language

To Reproduce
Steps to reproduce the behavior:

  1. Create a table.
  2. Type in an Asian language (I am typing in Japanese)
  3. Hit enter to align the columns
  4. See error (screenshots below)

Expected behavior
The lines designating the columns align properly when typing in an Asian language.

Screenshots
Without monospace font checked (default monospace font)
image

With monospace font checked
image

Desktop (please complete the following information):
OS: Windows
Obsidian version: v0.9.16
Advanced Tables Version: v0.6.0

Additional context
I haven't tested this on other Asian languages, only Japanese, but I would expect the issue to be the same with languages using different alphabets as well.

@lillianhorin lillianhorin added bug Something isn't working needs-review A newly created issue that has not yet been processed labels Nov 21, 2020
@tgrosinger
Copy link
Owner

@lillianhorin would you be willing to try the Sarasa font as mentioned in this comment. If you install that font and then set it as the preferred monospace font in the Advanced Tables settings page, it will hopefully fix that issue.

Let me know how it goes please.

@lillianhorin
Copy link
Author

@tgrosinger Thanks for the suggestion. I'll try to install, though I'm not very programming savvy and installing the dependencies for the font is already quite complicated. I wish I was more technically savvy! But I'll try my best.

@tgrosinger
Copy link
Owner

tgrosinger commented Nov 21, 2020

I'm pretty sure you can ignore the instructions about building (all the npm stuff).

You can download the built fonts from the releases page: https://github.com/be5invis/Sarasa-Gothic/releases

@tgrosinger tgrosinger added question Further information is requested and removed needs-review A newly created issue that has not yet been processed bug Something isn't working labels Nov 21, 2020
@lillianhorin
Copy link
Author

@tgrosinger Ah thank you for providing the release link. This worked!

Perhaps as a heads up for future documentation: I am using kepano's Minimal Theme Settings Plugin, so rather than editing obsidian.css directly, I just added it to the Custom Monospace Font box.

image

@tgrosinger
Copy link
Owner

Oh nice, that works! You can also use this field if you want to just use that font on tables:

MonospaceFont

@milla
Copy link

milla commented Feb 20, 2022

I cannot find the setting in the option, I'm using the latest version of the plugin.

image

@knwng
Copy link

knwng commented Oct 30, 2022

I cannot find the setting in the option, I'm using the latest version of the plugin.

image

Hi @milla , you can change fonts in Preferences -> Appearance -> Font -> Monospace Font.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants