pashto letter font
The lower code should work. The only thing you are doing is setting a font and it should work fine. If you give us the exact example of what the output looks like we can look into it more.
Looking at your example, maybe this is what is going on
file 1
"hello"
file 2
"world"
In file 1 the font is set to font "hello" in file 2 the font is set to font "world" so when the files are read the different fonts are used for each line so the output will look like this
line1
hello
line2
world
I hope that makes some sense. If you can give more examples that would help.
A:
Pashto is a script that is written in 2 languages: Urdu and Persian. Therefore, in your code you need to define two fonts for each of the languages that you are using. It might be a bit different than the way you are doing it now but it should look something like this.
public static void main(String[] args) throws Exception {
try (BufferedReader reader = new BufferedReader(new FileReader("pashto_examples.txt"))) {
while (true) {
String line = reader.readLine();
if (line == null) {
break;
}
System.out.println(line);
}
}
}
pashto_examples.txt
hello pashto_examples.txt
काहा
Q:
for-loop with transposed table
I want to do the following:
Input: Output:
Related links:
Comments