Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Here you should submit your bug reports with logcat.
  • Page:
  • 1
  • 2

TOPIC:

Complex Mathematical Signs cannot be seen 10 years 4 months ago #4725

  • fainted
  • fainted's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
currently only 2.9.5c is available for download, where to download 2.9.5d??

Please Log in or Create an account to join the conversation.

Complex Mathematical Signs cannot be seen 10 years 4 months ago #4726

  • fainted
  • fainted's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
following is the screenshot after integrating / updating pdf library (libs/*.* , all the content of libs directory)



do we need to update other java classes, to make it work cause as they make native calls and have the native library basically all the contents of libs directory with newer library.

the version currently is 2.9.5c from HERE

as it seems the problem is not fixed.

Please Log in or Create an account to join the conversation.

Last edit: by teniaujkk.

Complex Mathematical Signs cannot be seen 10 years 4 months ago #4727

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
these codes(part) in Global.Init() can fix this problem:
it use "Roboto-Regular" as default font.
		// add system external fonts.
		fontfileListStart();
		fontfileListAdd("/system/fonts/DroidSans.ttf");
		fontfileListAdd("/system/fonts/Roboto-Regular.ttf");
		fontfileListAdd("/system/fonts/DroidSansFallback.ttf");
		fontfileListEnd();
		int face_first = 0;
		int face_count = getFaceCount();
		String face_name = null;
		while (face_first < face_count) {
			face_name = getFaceName(face_first);
			if (face_name != null)
				break;
			face_first++;
		}
		// set default font for fixed width font.
		if (!setDefaultFont(null, "Roboto-Regular", true) && face_name != null)
		{
			if( !setDefaultFont(null, "DroidSans", true) )
				setDefaultFont(null, face_name, true);
		}
		// set default font for non-fixed width font.
		if (!setDefaultFont(null, "Roboto-Regular", false) && face_name != null)
		{
			if( !setDefaultFont(null, "DroidSans", false) )
				setDefaultFont(null, face_name, false);
		}

		// set default font for Chinese simplified language.
		if (!setDefaultFont("GB1", "DroidSansFallback", true)
				&& face_name != null)
			setDefaultFont(null, face_name, true);
		if (!setDefaultFont("GB1", "DroidSansFallback", false)
				&& face_name != null)
			setDefaultFont(null, face_name, false);

		// set default font for Chinese traditional language.
		if (!setDefaultFont("CNS1", "DroidSansFallback", true)
				&& face_name != null)
			setDefaultFont(null, face_name, true);
		if (!setDefaultFont("CNS1", "DroidSansFallback", false)
				&& face_name != null)
			setDefaultFont(null, face_name, false);

		// set default font for Japanese.
		if (!setDefaultFont("Japan1", "DroidSansFallback", true)
				&& face_name != null)
			setDefaultFont(null, face_name, true);
		if (!setDefaultFont("Japan1", "DroidSansFallback", false)
				&& face_name != null)
			setDefaultFont(null, face_name, false);

		// set default font for Korean.
		if (!setDefaultFont("Korea1", "DroidSansFallback", true)
				&& face_name != null)
			setDefaultFont(null, face_name, true);
		if (!setDefaultFont("Korea1", "DroidSansFallback", false)
				&& face_name != null)
			setDefaultFont(null, face_name, false);

		if (!setAnnotFont("DroidSansFallback") && face_name != null) {
			setAnnotFont(face_name);
		}

		// set text font for edit-box and combo-box editing.
		if (!setAnnotFont("DroidSansFallback") && face_name != null) {
			setAnnotFont(face_name);
		}

		// set configure to default value
		default_config();
The following user(s) said Thank You: teniaujkk

Please Log in or Create an account to join the conversation.

Last edit: by .

Complex Mathematical Signs cannot be seen 10 years 4 months ago #4728

  • fainted
  • fainted's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
that solved the problem, thank you !!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum